From b9c79316ef99e83a18a437681d3f01dd4beee6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 18 Oct 2005 15:14:52 +0000 Subject: [PATCH] Use common infrastructure for getting tables. --- ChangeLog | 1 + libraries/common.lib.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8c751a6e2..ce55cbe65 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2005-10-18 Michal Čihař * 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 * querywindow.php: wrong handling of linebreaks in query: bug #1243888 diff --git a/libraries/common.lib.php b/libraries/common.lib.php index e9ccf3071..e7fef0926 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -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; }