diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-06 13:58:37 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-06 13:58:37 +0100 |
commit | 4c598360d646f734d254d45b397bc26984999f0a (patch) | |
tree | 8fb31c27453edcde0214a6f553db9b207f49ce1c /system/database/drivers/oci8 | |
parent | 27984584d83784b39cf68e39200084ca2c8dc905 (diff) | |
parent | 658e7b8e5d7953648f9cfe8cff082471cc292b68 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/drivers/oci8')
-rw-r--r-- | system/database/drivers/oci8/oci8_result.php | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php index 0f69fa9ef..383b9f1a0 100644 --- a/system/database/drivers/oci8/oci8_result.php +++ b/system/database/drivers/oci8/oci8_result.php @@ -38,9 +38,18 @@ */ class CI_DB_oci8_result extends CI_DB_result { - var $stmt_id; - var $curs_id; - var $limit_used; + public $stmt_id; + public $curs_id; + public $limit_used; + + public function __construct(&$driver_object) + { + parent::__construct($driver_object); + $this->stmt_id = $driver_object->stmt_id; + $this->curs_id = $driver_object->curs_id; + $this->limit_used = $driver_object->limit_used; + $driver_object->stmt_id = FALSE; + } /** * Number of rows in the result set. |