Use "TRUNCATE TABLE" instead of "TRUNCATE".

This commit is contained in:
Alexander M. Turek
2002-08-11 20:54:48 +00:00
parent 3f2565ca99
commit f17db49f6e
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ $Source$
Laurent Dhima (laurenti).
* lang/chinese_*.inc.php3: Updates, thanks again to Siu Sun (siusun).
* lang/german-*.inc.php3: Updates.
* tbl_properties_links.php3: Use "TRUNCATE TABLE" instead of "TRUNCATE".
2002-08-10 Robin Johnson <robbat2@users.sourceforge.net>
* libraries/string.lib.php3:

View File

@@ -25,7 +25,7 @@ if ($table_info_num_rows > 0) {
$lnk4 = 'tbl_select.php3';
$arg4 = $url_query;
$ln6_stt = (PMA_MYSQL_INT_VERSION >= 40000)
? 'TRUNCATE '
? 'TRUNCATE TABLE '
: 'DELETE FROM ';
$lnk6 = 'sql.php3';
$arg6 = $url_query . '&amp;sql_query='