From 7555ade507982af16ed763e2e560a60892408bd2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 10 Feb 2008 23:40:41 +0000 Subject: clarifying comment on sqlite escape table --- system/database/drivers/sqlite/sqlite_driver.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'system/database/drivers/sqlite/sqlite_driver.php') 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; } -- cgit v1.2.3-24-g4f1b