summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-25 16:38:14 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-25 16:38:14 +0200
commit5bf199753617bb9bdd068546da52c949351b5333 (patch)
tree32764a849209780987db5a99581e52ec59e95d42 /system/database
parent0f5f73adf60638d85bae51a70c4998c8feb8d2ca (diff)
parent642e31357aacba35d73143e14daf5be528b949cf (diff)
Merge pull request #1703 from ylynfatt/fix-oracle-out-of-sequence-warning
Fix for oci_fetch_assoc(): ORA-01002: fetch out of sequence warning
Diffstat (limited to 'system/database')
-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);
}
// --------------------------------------------------------------------