• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

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?

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.