Fixed a bug (Error when modifying table keys)
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-11-11 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* libaries/common.lib.php3: Fixed bug #?????? (Error when modifying table
|
||||
keys). --- Please insert the correct bug id as soon as SF is up again :o)
|
||||
|
||||
2002-11-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/sqlparser.lib.php3: LEFT JOIN ... USING
|
||||
* libraries/sqlparser.lib.php3: bug 636575 (double and single quotes)
|
||||
|
@@ -1104,7 +1104,7 @@ if (typeof(document.getElementById) != 'undefined'
|
||||
|
||||
// Checks if the table needs to be repaired after a TRUNCATE query.
|
||||
if (PMA_MYSQL_INT_VERSION >= 40000
|
||||
&& isset($GLOBALS['table'])
|
||||
&& isset($GLOBALS['table']) && isset($GLOBALS['sql_query'])
|
||||
&& $GLOBALS['sql_query'] == 'TRUNCATE TABLE ' . PMA_backquote($GLOBALS['table'])) {
|
||||
if (!isset($tbl_status)) {
|
||||
$result = @PMA_mysql_query('SHOW TABLE STATUS FROM ' . PMA_backquote($GLOBALS['db']) . ' LIKE \'' . PMA_sqlAddslashes($GLOBALS['table'], TRUE) . '\'');
|
||||
|
Reference in New Issue
Block a user