CodeIgniter Forums

Full Version: SQLite
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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?

El Forum

[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