diff options
author | Greg Aker <greg@gregaker.net> | 2011-08-21 23:28:57 +0200 |
---|---|---|
committer | Greg Aker <greg@gregaker.net> | 2011-08-21 23:28:57 +0200 |
commit | d3c9a4997f10891cf5cb5a1a0318f5c293b62d5e (patch) | |
tree | d7ba7d0778a19eeffea082c068b40a26bcf67fe7 /system/database/drivers/mysql/mysql_driver.php | |
parent | 2c4b36620828173f3caf83fc7f6146bccb3688f4 (diff) | |
parent | 297eb2fa755d8d0202511d4181dc4dab115e842c (diff) |
Merge branch 'develop' into feature/unit-tests
Diffstat (limited to 'system/database/drivers/mysql/mysql_driver.php')
-rw-r--r-- | system/database/drivers/mysql/mysql_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php index 872504564..f87cfea4b 100644 --- a/system/database/drivers/mysql/mysql_driver.php +++ b/system/database/drivers/mysql/mysql_driver.php @@ -441,7 +441,7 @@ class CI_DB_mysql_driver extends CI_DB { */ function _field_data($table) { - return "SELECT * FROM ".$table." LIMIT 1"; + return "DESCRIBE ".$table; } // -------------------------------------------------------------------- |