[yunqa.de] sqlite3_busy_timeout() with TDISQLite3Database?

  • From: "email@xxxxxxxxxx" <email@xxxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Thu, 08 Dec 2011 22:23:58 +0100

Hi!

I just started playing with the DiSQLite and I plan to buy it, only if I can get it to work with my app.

My application is multithreaded (when busy, I run like 20-30 concurrent threads maximum), and after discovering the awesome speed of the SQLite engine, I found out about the dreaded "SQLite Error 5 - database is locked" error :(

I've read about the sqlite3_busy_timeout, but I admit I'm a bit lost here:

Is there a way to apply the sqlite3_busy_timeout() to a TDISQLite3Database rather than this "sqlite3_ptr" pointer?

Thanks!
Nora.
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: