commit | 8108b612fb80327215ae66b53c75c158d6f07e62 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Mar 07 10:10:17 2016 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Mon Mar 07 10:10:17 2016 +0200 |
tree | dc2c4542c556e01d41b146659b421be7d14d1ba9 | |
parent | c1721f15c72fb0b062a381d89dadaf1e86f8576b [diff] [blame] |
[ci skip] Fix transactions for the ibase driver Reported via the forums: http://forum.codeigniter.com/thread-64559.html
diff --git a/system/database/drivers/ibase/ibase_driver.php b/system/database/drivers/ibase/ibase_driver.php index cbc1022..c1055c1 100644 --- a/system/database/drivers/ibase/ibase_driver.php +++ b/system/database/drivers/ibase/ibase_driver.php
@@ -126,7 +126,7 @@ */ 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); } // --------------------------------------------------------------------