CodeIgniter Forums
SQLite - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: SQLite (/thread-8443.html)



SQLite - El Forum - 05-18-2008

[eluser]Seppo[/eluser]
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

[eluser]Alxandr[/eluser]
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