summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorGreg Aker <greg@gregaker.net>2011-12-25 06:33:37 +0100
committerGreg Aker <greg@gregaker.net>2011-12-25 06:33:37 +0100
commitc0d3ccc4d3e185b6c638693a7612b68f790655a8 (patch)
tree5e25eb09369d613d15173e583013a9f4029b40c9 /system
parent25a056c8d9c8dcf73ff1cd1d29cb25f238a5e76b (diff)
parent0372f1ade3029c8363f1ed13545590c45d45d82f (diff)
Merge pull request #792 from a-krebs/patch-1
fix to issue #696
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/oci8/oci8_result.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php
index 3ec71a9d6..f32559289 100644
--- a/system/database/drivers/oci8/oci8_result.php
+++ b/system/database/drivers/oci8/oci8_result.php
@@ -57,11 +57,11 @@ class CI_DB_oci8_result extends CI_DB_result {
if ($this->num_rows === 0 && count($this->result_array()) > 0)
{
$this->num_rows = count($this->result_array());
- @oci_execute($this->stmt_id);
+ @oci_execute($this->stmt_id, OCI_DEFAULT);
if ($this->curs_id)
{
- @oci_execute($this->curs_id);
+ @oci_execute($this->curs_id, OCI_DEFAULT);
}
}