summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/oci8
diff options
context:
space:
mode:
authorYannick Lyn Fatt <yannick.lynfatt@gmail.com>2012-08-13 21:41:17 +0200
committerYannick Lyn Fatt <yannick.lynfatt@gmail.com>2012-08-13 21:41:17 +0200
commit642e31357aacba35d73143e14daf5be528b949cf (patch)
tree036e5113be76df33065f7c23425a8751f1ba7885 /system/database/drivers/oci8
parent6c94c2dcfb6557947c9ac67e419b2856fd80e01d (diff)
Fix for oci_fetch_assoc(): ORA-01002: fetch out of sequence warning
Fixes #1701
Diffstat (limited to 'system/database/drivers/oci8')
-rw-r--r--system/database/drivers/oci8/oci8_result.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php
index a2b600e6c..ade186be7 100644
--- a/system/database/drivers/oci8/oci8_result.php
+++ b/system/database/drivers/oci8/oci8_result.php
@@ -157,7 +157,7 @@ class CI_DB_oci8_result extends CI_DB_result {
protected function _fetch_assoc()
{
$id = ($this->curs_id) ? $this->curs_id : $this->stmt_id;
- return oci_fetch_assoc($id);
+ return @oci_fetch_assoc($id);
}
// --------------------------------------------------------------------