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,7 +2,7 @@ DON'T BE A DICK PUBLIC LICENSE
Version 1, December 2009 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 Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long copies of this license document, and changing it is allowed as long

View File

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

View File

@ -95,6 +95,11 @@ class DB_tabs extends GTKNotebook {
self::_add_tab($conn, 'Tables', 'Table Name', 'get_tables'); 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 // 'Views' Tab
{ {
self::_add_tab($conn, 'Views', 'View Name', 'get_views'); self::_add_tab($conn, 'Views', 'View Name', 'get_views');