Improved queries, more uncommitted queries
This commit is contained in:
parent
e5c7ce0902
commit
3e5cf5290e
12 changed files with 141 additions and 75 deletions
|
@ -362,7 +362,7 @@ function qu($sql) {
|
|||
$stmt = @vsprintf($sql,$args); // Disabled warnings
|
||||
if($stmt === false)
|
||||
logger('dba: vsprintf error: ' . print_r(debug_backtrace(),true), LOGGER_DEBUG);
|
||||
$db->q("SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;");
|
||||
$db->q("SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;");
|
||||
$retval = $db->q($stmt);
|
||||
$db->q("COMMIT;");
|
||||
return $retval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue