System tables tab, update license file
This commit is contained in:
parent
45b83ec2b8
commit
acd88b9309
@ -2,7 +2,7 @@ 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
|
||||
|
@ -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');
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user