Really fix error handling :)
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index dea08ff..f520f7c 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -560,7 +560,7 @@
 		{
 			if (is_resource($this->$key))
 			{
-				$res = $key;
+				$res = $this->$key;
 				break;
 			}
 		}