Comment
This commit is contained in:
parent
35734dc7f4
commit
8f687497e4
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user