summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/ibase/ibase_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-03-07 09:10:17 +0100
committerAndrey Andreev <narf@devilix.net>2016-03-07 09:10:17 +0100
commit8108b612fb80327215ae66b53c75c158d6f07e62 (patch)
treedc2c4542c556e01d41b146659b421be7d14d1ba9 /system/database/drivers/ibase/ibase_driver.php
parentc1721f15c72fb0b062a381d89dadaf1e86f8576b (diff)
[ci skip] Fix transactions for the ibase driver
Reported via the forums: http://forum.codeigniter.com/thread-64559.html
Diffstat (limited to 'system/database/drivers/ibase/ibase_driver.php')
-rw-r--r--system/database/drivers/ibase/ibase_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/ibase/ibase_driver.php b/system/database/drivers/ibase/ibase_driver.php
index cbc1022ff..c1055c1e6 100644
--- a/system/database/drivers/ibase/ibase_driver.php
+++ b/system/database/drivers/ibase/ibase_driver.php
@@ -126,7 +126,7 @@ class CI_DB_ibase_driver extends CI_DB {
*/
protected function _execute($sql)
{
- return ibase_query($this->conn_id, $sql);
+ return ibase_query(isset($this->_ibase_trans) ? $this->_ibase_trans : $this->conn_id, $sql);
}
// --------------------------------------------------------------------