Marc Delisle schrieb:
cybot_tm@users.sourceforge.net a écrit :
Revision: 10816 http://phpmyadmin.svn.sourceforge.net/phpmyadmin/?rev=10816&view=rev Author: cybot_tm Date: 2007-10-17 01:03:19 -0700 (Wed, 17 Oct 2007)
Log Message:
commented out auto-switching to active database - really required? bug #1814718 win: table list disappears (mixed case db names)
Modified Paths:
trunk/phpMyAdmin/sql.php
Modified: trunk/phpMyAdmin/sql.php
--- trunk/phpMyAdmin/sql.php 2007-10-17 08:02:56 UTC (rev 10815) +++ trunk/phpMyAdmin/sql.php 2007-10-17 08:03:19 UTC (rev 10816) @@ -341,12 +341,14 @@
// Checks if the current database has changed // This could happen if the user sends a query like "USE `database`;"
/* $current_db = PMA_DBI_fetch_value('SELECT DATABASE()'); if ($db !== $current_db) { $db = $current_db; $reload = 1; } unset($current_db);
*/
// tmpfile remove after convert encoding appended by Y.Kawada if (function_exists('PMA_kanji_file_conv')
Sebastian, this code is there to permit a user to type "USE dbname" and it switches to it. This is useful to open quickly a database, especially if there are hundreds of them and he has to paginate in the navi panel.
ok ... but it does not work ... at least on Win with lower_case_table_names = 2
i have opened a mysql bug report, lets wait what they say ...