bug #1616486 server_databases does not show all databases
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$HeadURL$
|
||||
|
||||
2007-02-12 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* libraries/database_interface.lib.php: bug #1616486 server_databases does
|
||||
not show all databases
|
||||
|
||||
2007-02-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* main.php: some links should open a new page
|
||||
* Documentation.html, libraries/navigation_header.inc.php,
|
||||
|
@@ -456,13 +456,13 @@ function PMA_DBI_get_databases_full($database = null, $force_stats = false,
|
||||
if ($force_stats) {
|
||||
$sql .= '
|
||||
LEFT JOIN `information_schema`.`TABLES`
|
||||
ON `information_schema`.`TABLES`.`TABLE_SCHEMA`
|
||||
= `information_schema`.`SCHEMATA`.`SCHEMA_NAME`';
|
||||
ON BINARY `information_schema`.`TABLES`.`TABLE_SCHEMA`
|
||||
= BINARY `information_schema`.`SCHEMATA`.`SCHEMA_NAME`';
|
||||
}
|
||||
$sql .= '
|
||||
' . $sql_where_schema . '
|
||||
GROUP BY `information_schema`.`SCHEMATA`.`SCHEMA_NAME`
|
||||
ORDER BY ' . PMA_backquote($sort_by) . ' ' . $sort_order
|
||||
GROUP BY BINARY `information_schema`.`SCHEMATA`.`SCHEMA_NAME`
|
||||
ORDER BY BINARY ' . PMA_backquote($sort_by) . ' ' . $sort_order
|
||||
. $limit;
|
||||
$databases = PMA_DBI_fetch_result($sql, 'SCHEMA_NAME', null, $link);
|
||||
|
||||
|
Reference in New Issue
Block a user