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

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

#2
[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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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