Improve test behaviour

This commit is contained in:
Michael
2018-07-08 05:29:06 +00:00
parent 271b6cb8f9
commit 69db696ab1
3 changed files with 26 additions and 17 deletions

View File

@@ -955,6 +955,8 @@ class dba {
* @return boolean Was the command executed successfully?
*/
public static function rollback() {
$ret = false;
switch (self::$driver) {
case 'pdo':
if (!self::$db->inTransaction()) {