commit | 1edde30e4443bdcb54a16bf220a5a359825ab549 | [log] [tgz] |
---|---|---|
author | Greg Aker <greg.aker@ellislab.com> | Tue Jan 26 00:17:01 2010 +0000 |
committer | Greg Aker <greg.aker@ellislab.com> | Tue Jan 26 00:17:01 2010 +0000 |
tree | 211bfe5ebf5f0b492fc89ef4b4db86f0056957ef | |
parent | 472dd21a7bc60147afff7bf100bbb6c9f339d0fc [diff] [blame] |
Fixing bug in DB Driver where identifiers could be escaped in some drivers that can't accept it in the list_fields() function. http://codeigniter.com/bug_tracker/bug/5865/ http://codeigniter.com/bug_tracker/bug/11218/
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 390d557..d7f17cc 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php
@@ -822,7 +822,7 @@ return FALSE; } - if (FALSE === ($sql = $this->_list_columns($this->_protect_identifiers($table, TRUE, NULL, FALSE)))) + if (FALSE === ($sql = $this->_list_columns($table))) { if ($this->db_debug) {