System tables tab, update license file

This commit is contained in:
Timothy Warren 2012-04-09 10:52:51 -04:00
parent 45b83ec2b8
commit acd88b9309
3 changed files with 11 additions and 7 deletions

View File

@ -2,8 +2,8 @@ DON'T BE A DICK PUBLIC LICENSE
Version 1, December 2009
Copyright (C) 2009 Philip Sturgeon <email@philsturgeon.co.uk>
Copyright (C) 2012 Timothy J Warren <tim@timshomepage.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
@ -20,8 +20,8 @@ DON'T BE A DICK PUBLIC LICENSE
1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.
2. If you become rich through modifications, related works/services, or supporting the original work,
share the love. Only a dick would make loads off this work and not buy the original works
share the love. Only a dick would make loads off this work and not buy the original works
creator(s) a pint.
3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.

View File

@ -146,8 +146,7 @@ class MySQL extends DB_PDO {
*/
public function get_system_tables()
{
//MySQL doesn't have system tables
return array();
return array('information_schema');
}
// --------------------------------------------------------------------------

View File

@ -95,6 +95,11 @@ class DB_tabs extends GTKNotebook {
self::_add_tab($conn, 'Tables', 'Table Name', 'get_tables');
}
// 'System Tables' Tab
{
self::_add_tab($conn, 'System Tables', 'Table Name', 'get_system_tables');
}
// 'Views' Tab
{
self::_add_tab($conn, 'Views', 'View Name', 'get_views');