summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_mysql.php')
-rw-r--r--system/drivers/DB_mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/drivers/DB_mysql.php b/system/drivers/DB_mysql.php
index a90d84268..72790976e 100644
--- a/system/drivers/DB_mysql.php
+++ b/system/drivers/DB_mysql.php
@@ -443,7 +443,7 @@ class CI_DB_mysql_result extends CI_DB_result {
$retval = array();
while ($field = mysql_fetch_field($this->result_id))
{
- $F = new CI_DB_field();
+ $F = new stdClass();
$F->name = $field->name;
$F->type = $field->type;
$F->default = $field->def;