Catch SQLite errors
#2

use SQLitei

Quote:
Originally Posted by Slice
Посмотреть сообщение
A few issues taken care of:
  • You can see error messages from db_query (for example, no such column name: test).
  • NULL values in results caused the server to crash when using db_get_field.
  • Freeing results twice caused a crash.
  • Not freeing results at all caused memory leaks. SQLitei will take care of this, though you should still free results (especially if you're running many queries in a loop for example).
  • You couldn't browse through results back and forth - db_next_row was the only function available.
Reply


Messages In This Thread
Catch SQLite errors - by Tokyo - 07.09.2014, 14:05
Re: Catch SQLite errors - by CutX - 07.09.2014, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)