mysql driver - in debug mode for statements that return true/false report the sql along with the result so we can match it to an offending statement. This has bugged me for some time but never got around to fixing it until now.
This commit is contained in:
parent
b5da015789
commit
edda931197
@ -40,7 +40,7 @@ class dba_mysqli extends dba_driver {
|
||||
|
||||
if(($result === true) || ($result === false)) {
|
||||
if($this->debug) {
|
||||
logger('dba_mysqli: DEBUG: returns ' . (($result) ? 'true' : 'false'));
|
||||
logger('dba_mysqli: DEBUG: ' . printable($sql) . ' returns ' . (($result) ? 'true' : 'false'));
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user