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/DB_result.php | |
parent | 27984584d83784b39cf68e39200084ca2c8dc905 (diff) | |
parent | 658e7b8e5d7953648f9cfe8cff082471cc292b68 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/DB_result.php')
-rw-r--r-- | system/database/DB_result.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index 730443222..61aa56121 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -47,6 +47,12 @@ class CI_DB_result { public $num_rows = 0; public $row_data = NULL; + public function __construct(&$driver_object) + { + $this->conn_id = $driver_object->conn_id; + $this->result_id = $driver_object->result_id; + } + /** * Query result. Acts as a wrapper function for the following functions. * |