summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/sqlite/sqlite_driver.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index b6cb460b1..c51edfb07 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -402,11 +402,9 @@ class CI_DB_sqlite_driver extends CI_DB {
*/
function _escape_table($table)
{
- if (stristr($table, '.'))
- {
- $table = preg_replace("/\./", ".", $table);
- }
-
+
+ // other database drivers use this to add backticks, hence this
+ // function is simply going to return the tablename for sqlite
return $table;
}