CodeIgniter Forums
SQLite - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: SQLite (/thread-8443.html)

SQLite - El Forum - 05-18-2008

I'm not sure how SQLite works, but the _drop_database method receives a db name, but it doesn't use it, instead it deletes $this->db->database... is this a bug, or a sqlite limitation does not allow to delete another database?

SQLite - El Forum - 08-10-2008

Well... Since every db in sqlite is a separate file I would guess that when it receives a drop database call it don't even bother checking for a name. The only database the sqlite-database know about is itself, so therefore it deletes itself... Cinda suicidal though :-P