clarifying comment on sqlite escape table
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index b6cb460..c51edfb 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -402,11 +402,9 @@
*/
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;
}