summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/interbase
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-02-21 01:38:10 +0100
committerTimothy Warren <tim@timshomepage.net>2012-02-21 01:38:10 +0100
commit2062a8693e1ba44c4530254f63c3936894aad526 (patch)
tree5a2e37e986b6b5932826ad8da0fc5a43d9d13e84 /system/database/drivers/interbase
parentdd044b317fc2db52f3812792a256497a2f0e94fb (diff)
Made tranaaction functions return their actual value
Diffstat (limited to 'system/database/drivers/interbase')
-rw-r--r--system/database/drivers/interbase/interbase_driver.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/database/drivers/interbase/interbase_driver.php b/system/database/drivers/interbase/interbase_driver.php
index ba4f9d8d9..7258e605e 100644
--- a/system/database/drivers/interbase/interbase_driver.php
+++ b/system/database/drivers/interbase/interbase_driver.php
@@ -224,9 +224,7 @@ class CI_DB_interbase_driver extends CI_DB {
return TRUE;
}
- @ibase_commit($this->trans);
-
- return TRUE;
+ return @ibase_commit($this->trans);
}
// --------------------------------------------------------------------
@@ -249,9 +247,7 @@ class CI_DB_interbase_driver extends CI_DB {
return TRUE;
}
- @ibase_rollback($this->trans);
-
- return TRUE;
+ return @ibase_rollback($this->trans);
}
// --------------------------------------------------------------------