summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite/sqlite_result.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-16 01:33:30 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-16 01:33:30 +0100
commit822e74ee39fffd2c35477be2bedfb37e78eb3bc1 (patch)
tree27c58f643572474064e6f0d0b0fef4f0b93f04d0 /system/database/drivers/sqlite/sqlite_result.php
parent02e7a9d6509092315dd31183762616860ebb9621 (diff)
Improve DB field_data() for SQLite
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_result.php')
-rw-r--r--system/database/drivers/sqlite/sqlite_result.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/database/drivers/sqlite/sqlite_result.php b/system/database/drivers/sqlite/sqlite_result.php
index 0e6335f73..24f02a8b4 100644
--- a/system/database/drivers/sqlite/sqlite_result.php
+++ b/system/database/drivers/sqlite/sqlite_result.php
@@ -98,10 +98,8 @@ class CI_DB_sqlite_result extends CI_DB_result {
{
$retval[$i] = new stdClass();
$retval[$i]->name = sqlite_field_name($this->result_id, $i);
- $retval[$i]->type = 'varchar';
- $retval[$i]->max_length = 0;
- $retval[$i]->primary_key = 0;
- $retval[$i]->default = '';
+ $retval[$i]->type = NULL;
+ $retval[$i]->max_length = NULL;
}
return $retval;