diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-08 01:12:07 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-08 01:12:07 +0200 |
commit | c78e56a7df140ee777ffc67687877f3e70c77e28 (patch) | |
tree | b26e6ec5090e018baaf58f4a2acc71d9c569d0b1 /system/database/drivers/sqlite3 | |
parent | caa04f15096590261093dff2a8b59f266a1dcaf5 (diff) |
Add a default _from_tables() method to CI_DB_query_builder and remove it from most of the drivers
Diffstat (limited to 'system/database/drivers/sqlite3')
-rw-r--r-- | system/database/drivers/sqlite3/sqlite3_driver.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_driver.php b/system/database/drivers/sqlite3/sqlite3_driver.php index 2acefbcf4..bed61891b 100644 --- a/system/database/drivers/sqlite3/sqlite3_driver.php +++ b/system/database/drivers/sqlite3/sqlite3_driver.php @@ -318,27 +318,6 @@ class CI_DB_sqlite3_driver extends CI_DB { // -------------------------------------------------------------------- /** - * From Tables - * - * This function implicitly groups FROM tables so there is no confusion - * about operator precedence in harmony with SQL standards - * - * @param string - * @return string - */ - protected function _from_tables($tables) - { - if ( ! is_array($tables)) - { - $tables = array($tables); - } - - return '('.implode(', ', $tables).')'; - } - - // -------------------------------------------------------------------- - - /** * Replace statement * * Generates a platform-specific replace string from the supplied data |