Use common infrastructure for getting tables.
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
||||
|
||||
2005-10-18 Michal Čihař <michal@cihar.com>
|
||||
* libraries/relation.lib.php: Do not set database if not needed.
|
||||
* libraries/common.lib.php: Use common infrastructure for getting tables.
|
||||
|
||||
2005-10-18 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* querywindow.php: wrong handling of linebreaks in query: bug #1243888
|
||||
|
@@ -1592,9 +1592,7 @@ if ($is_minimum_common == FALSE) {
|
||||
function PMA_getTableList( $db ) {
|
||||
$sep = $GLOBALS['cfg']['LeftFrameTableSeparator'];
|
||||
|
||||
$tables = PMA_DBI_fetch_result(
|
||||
'SHOW TABLE STATUS FROM ' . PMA_backquote( $db ),
|
||||
'Name' );
|
||||
$tables = PMA_DBI_get_tables_full($db);
|
||||
if ( count( $tables ) < 1 ) {
|
||||
return $tables;
|
||||
}
|
||||
|
Reference in New Issue
Block a user