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

@@ -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;