diff options
author | admin <devnull@localhost> | 2006-10-01 05:38:04 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-01 05:38:04 +0200 |
commit | b2a9ceccdb85050cb494e6d0a98b0a49495d29bb (patch) | |
tree | 16307166046e516304e5d38a072b6e8534657927 /system/database/drivers/sqlite/sqlite_utility.php | |
parent | 0e42554740e2256eb9bf33bfb2f91788a99a1348 (diff) |
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_utility.php')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_utility.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/system/database/drivers/sqlite/sqlite_utility.php b/system/database/drivers/sqlite/sqlite_utility.php index 801660d94..19b06bd6d 100644 --- a/system/database/drivers/sqlite/sqlite_utility.php +++ b/system/database/drivers/sqlite/sqlite_utility.php @@ -64,6 +64,28 @@ 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 + * + * @access private + * @return bool + */ + function _list_databases() + { + if ($this->db_debug) + { + return $this->display_error('db_unsuported_feature'); + } + return array(); + } + + // -------------------------------------------------------------------- + + /** * Drop Table * * Unsupported feature in SQLite |