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/mysqli/mysqli_driver.php | |
parent | 2c4b36620828173f3caf83fc7f6146bccb3688f4 (diff) | |
parent | 297eb2fa755d8d0202511d4181dc4dab115e842c (diff) |
Merge branch 'develop' into feature/unit-tests
Diffstat (limited to 'system/database/drivers/mysqli/mysqli_driver.php')
-rw-r--r-- | system/database/drivers/mysqli/mysqli_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php index ddcaff323..ccd110f79 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -442,7 +442,7 @@ class CI_DB_mysqli_driver extends CI_DB { */ function _field_data($table) { - return "SELECT * FROM ".$table." LIMIT 1"; + return "DESCRIBE ".$table; } // -------------------------------------------------------------------- |