summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-07 02:59:08 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-07 02:59:08 +0200
commit482ee4325894bb05b4f97bb9e9ded14e5fce93ba (patch)
tree5d91fba546300b8ef81ca0e055480e6b3319eb54
parenta2a240a87baa0cf6a425837158880f5235e3bca6 (diff)
Fixed Oracle bug (#3306) that was preventing multiple queries in one action
-rw-r--r--system/database/drivers/oci8/oci8_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 98c993291..362da58fb 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -141,6 +141,7 @@ class CI_DB_oci8_driver extends CI_DB {
{
// oracle must parse the query before it is run. All of the actions with
// the query are based on the statement id returned by ociparse
+ $this->stmt_id = FALSE;
$this->_set_stmt_id($sql);
ocisetprefetch($this->stmt_id, 1000);
return @ociexecute($this->stmt_id, $this->_commit);