summaryrefslogtreecommitdiffstats
path: root/system/database/DB_result.php
diff options
context:
space:
mode:
authorMike Funk <mfunk@xulonpress.com>2012-03-07 19:29:37 +0100
committerMike Funk <mfunk@xulonpress.com>2012-03-07 19:29:37 +0100
commit1909b5b1dd5e2d6847cbe4a87a0aadd52b506681 (patch)
tree8aaf0c86aa49dc0bacd55daeb2144d40c37ae8e0 /system/database/DB_result.php
parenta90b1f2f89a41b2fe061f5fdd3f84f08b961a887 (diff)
parent1d571971be8be78a92d31aad27dda4009770043f (diff)
merged from develop, fixed conflict in user guide.
Diffstat (limited to 'system/database/DB_result.php')
-rw-r--r--system/database/DB_result.php6
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.
*