diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-24 01:51:18 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-24 01:51:18 +0200 |
commit | 473130a226219dac6ef5c59b625b0e1361b292b3 (patch) | |
tree | 9809031d210dafb4926752e712e6dc1ac3614f40 /system/database/drivers/mysqli/mysqli_driver.php | |
parent | 58803fb365e085401803d4b17a9508ceedde2e20 (diff) |
Minor changes to the MySQL and MySQLi drivers
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 d3fb77a22..1b30b6c72 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -335,7 +335,7 @@ class CI_DB_mysqli_driver extends CI_DB { */ protected function _list_tables($prefix_limit = FALSE) { - $sql = 'SHOW TABLES FROM '.$this->_escape_char.$this->database.$this->_escape_char; + $sql = 'SHOW TABLES FROM '.$this->escape_identifiers($this->database); if ($prefix_limit !== FALSE && $this->dbprefix !== '') { |