Improve test behaviour
This commit is contained in:
parent
271b6cb8f9
commit
69db696ab1
3 changed files with 26 additions and 17 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue