added workaround for bug #1436171 Cannot display Capitalised Databases
This commit is contained in:
@@ -7,7 +7,7 @@ $Source$
|
||||
|
||||
2006-02-22 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/display_tbl.lib.php: bug #1435303, error on empty BLOB transf.
|
||||
* libraries/database_interface.lib.php PMA_DBI_get_tables_full():
|
||||
* libraries/database_interface.lib.php PMA_DBI_get_tables_full(), left.php:
|
||||
added workaround for bug #1436171 Cannot display Capitalised Databases
|
||||
|
||||
2006-02-22 Michal Čihař <michal@cihar.com>
|
||||
|
8
left.php
8
left.php
@@ -358,6 +358,14 @@ function PMA_displayDbList( $ext_dblist ) {
|
||||
if ($db['num_tables']) {
|
||||
if (isset($tables_full[$db['name']])) {
|
||||
$tables = PMA_getTableList($db['name'], $tables_full[$db['name']]);
|
||||
} elseif (isset($tables_full[strtolower($db['name'])])) {
|
||||
// on windows with lower_case_table_names = 1
|
||||
// MySQL returns
|
||||
// with SHOW DATABASES or information_schema.SCHEMATA: `Test`
|
||||
// but information_schema.TABLES gives `test`
|
||||
// bug #1436171
|
||||
// sf.net/tracker/?func=detail&aid=1436171&group_id=23067&atid=377408
|
||||
$tables = PMA_getTableList($db['name'], $tables_full[strtolower($db['name'])]);
|
||||
} else {
|
||||
$tables = PMA_getTableList($db['name']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user