This commit is contained in:
Michael RICOIS 2015-07-09 20:23:04 +00:00
parent 35734dc7f4
commit 8f687497e4
2 changed files with 8 additions and 8 deletions

View File

@ -121,8 +121,8 @@ class WDB
/**
* Database delete
* @param unknown $table
* @param unknown $where
* @param string $table
* @param string $where
* @param string $debug
* @param string $low_priority
* @return resource
@ -133,9 +133,9 @@ class WDB
$this->errorMsg = '';
if ($low_priority)
$query='DELETE LOW_PRIORITY QUICK FROM '.$table.' WHERE '.$where.' LIMIT 1;';
$query='DELETE LOW_PRIORITY QUICK FROM '.$table.' WHERE '.$where.';';
else
$query='DELETE FROM '.$table.' WHERE '.$where.' LIMIT 1;';
$query='DELETE FROM '.$table.' WHERE '.$where.';';
if ($debug) $tdeb=microtime_float();

View File

@ -121,8 +121,8 @@ class WDB
/**
* Database delete
* @param unknown $table
* @param unknown $where
* @param string $table
* @param string $where
* @param string $debug
* @param string $low_priority
* @return resource
@ -133,9 +133,9 @@ class WDB
$this->errorMsg = '';
if ($low_priority)
$query='DELETE LOW_PRIORITY QUICK FROM '.$table.' WHERE '.$where.' LIMIT 1;';
$query='DELETE LOW_PRIORITY QUICK FROM '.$table.' WHERE '.$where.';';
else
$query='DELETE FROM '.$table.' WHERE '.$where.' LIMIT 1;';
$query='DELETE FROM '.$table.' WHERE '.$where.';';
if ($debug) $tdeb=microtime_float();