Remove DELAYED, LOW_PRIORITY

This commit is contained in:
Michael RICOIS 2015-08-14 20:21:30 +00:00
parent ff8d4f5068
commit 6248c7c737

View File

@ -43,7 +43,7 @@ class WDB
$values = str_replace("'NULL'", 'NULL', $values);
if ($low_priority) {
$query = 'INSERT DELAYED INTO '.$table.' ('.$fields.') VALUES ('.$values.');';
$query = 'INSERT INTO '.$table.' ('.$fields.') VALUES ('.$values.');';
} else {
$query = 'INSERT INTO '.$table.' ('.$fields.') VALUES ('.$values.');';
}
@ -83,7 +83,7 @@ class WDB
$this->errorMsg = '';
if ($low_priority) {
$query='UPDATE LOW_PRIORITY '.$table.' SET ';
$query='UPDATE '.$table.' SET ';
} else {
$query='UPDATE '.$table.' SET ';
}
@ -133,7 +133,7 @@ class WDB
$this->errorMsg = '';
if ($low_priority)
$query='DELETE LOW_PRIORITY QUICK FROM '.$table.' WHERE '.$where.';';
$query='DELETE QUICK FROM '.$table.' WHERE '.$where.';';
else
$query='DELETE FROM '.$table.' WHERE '.$where.';';