bug 770095 error in multiple TRUNCATE

This commit is contained in:
Marc Delisle
2003-07-12 12:32:43 +00:00
parent 1ce64c9f32
commit 7199805f2d
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-07-12 Marc Delisle <lem9@users.sourceforge.net>
* mult_submit.inc.php3: bug 770095, error in multiple TRUNCATEs
2003-07-11 Marc Delisle <lem9@users.sourceforge.net>
* lang/turkish update, thanks to Bora Alioglu
* lang/slovak update, thanks to Lubos Klokner

View File

@@ -204,9 +204,9 @@ else if ($mult_btn == $strYes) {
case 'empty_tbl':
if (PMA_MYSQL_INT_VERSION >= 40000) {
$a_query .= 'TRUNCATE ';
$a_query = 'TRUNCATE ';
} else {
$a_query .= 'DELETE FROM ';
$a_query = 'DELETE FROM ';
}
$a_query .= PMA_backquote(htmlspecialchars(urldecode($selected[$i])));
break;