mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
DibiDriver::doQuery returns TRUE or DibiResult
This commit is contained in:
@@ -74,10 +74,9 @@ class DibiMsSqlDriver extends DibiDriver
|
||||
|
||||
if ($res === FALSE) {
|
||||
throw new DibiDatabaseException('Query error', 0, $sql);
|
||||
|
||||
} elseif (is_resource($res)) {
|
||||
return new DibiMSSqlResult($res);
|
||||
}
|
||||
|
||||
return is_resource($res) ? new DibiMSSqlResult($res) : TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user