summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite/sqlite_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-07 20:34:56 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-07 20:34:56 +0200
commit9411557ac9d95c6b1b3e76fea533e0988cec1bec (patch)
tree5824b264466451d2f30104430391d0c1b767e489 /system/database/drivers/sqlite/sqlite_driver.php
parent3427797a2899506adbe5317671fe0b3c27c2a6a6 (diff)
Some more minor improvements
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_driver.php')
-rw-r--r--system/database/drivers/sqlite/sqlite_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index cb8c0dd8b..58bb5f2a7 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -302,7 +302,7 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
protected function _field_data($table)
{
- return 'SELECT * FROM '.$table.' LIMIT 1';
+ return 'SELECT * FROM '.$this->escape_identifiers($table).' LIMIT 1';
}
// --------------------------------------------------------------------