Fixed Oracle bug (#3306) that was preventing multiple queries in one action
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 98c9932..362da58 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -141,6 +141,7 @@
{
// 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);