diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-09 15:14:20 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-09 15:14:20 +0200 |
commit | b8949fab60082e17f219fc89c6c8a85d3ff73f19 (patch) | |
tree | 276943a51e282d0d684304048ada830b55f9fb2e /system/database/drivers/sqlite/sqlite_utility.php | |
parent | 00aed0d9015040764fb7fe8edb7452459fc19213 (diff) | |
parent | b457a4001ce2380e97f36b0a983b477c3e31de69 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_utility.php')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_utility.php | 47 |
1 files changed, 2 insertions, 45 deletions
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php index c07004c54..1bcb42d9f 100644 --- a/system/database/drivers/sqlite/sqlite_utility.php +++ b/system/database/drivers/sqlite/sqlite_utility.php @@ -34,50 +34,7 @@ */ class CI_DB_sqlite_utility extends CI_DB_utility { - /** - * List databases - * - * I don't believe you can do a database listing with SQLite - * since each database is its own file. I suppose we could - * try reading a directory looking for SQLite files, but - * that doesn't seem like a terribly good idea - * - * @return bool - */ - public function _list_databases() - { - return ($this->db_debug) ? $this->db->display_error('db_unsuported_feature') : FALSE; - } - - // -------------------------------------------------------------------- - - /** - * Optimize table query - * - * @param string the table name - * @return bool - */ - public function _optimize_table($table) - { - // Not supported - return FALSE; - } - - // -------------------------------------------------------------------- - - /** - * Repair table query - * - * @param string the table name - * @return bool - */ - public function _repair_table($table) - { - // Not supported - return FALSE; - } - - // -------------------------------------------------------------------- + protected $_list_databases = FALSE; /** * SQLite Export @@ -85,7 +42,7 @@ class CI_DB_sqlite_utility extends CI_DB_utility { * @param array Preferences * @return mixed */ - public function _backup($params = array()) + protected function _backup($params = array()) { // Currently unsupported return $this->db->display_error('db_unsuported_feature'); |