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