[EMAIL PROTECTED] said:
> Which API calls would be required for a complete assessment of readiness?
> Would sqlite3_busy_handler be a candidate?  I presume callbacks would be
> involved as well.

There is no need to test for readiness.  There are two different
interfaces to the database, either sqlite3_exec or sqlite3_prepare
followed by sqlite3_step and sqlite3_finalize.  Whenever you have
completed the sqlite3_exec call or the sqlite3_prepare/finalize sequence
of steps, the database is again ready for queries on that particular
connection.

A couple of days ago I posted this link to the list:
http://www.lazarusid.com/cgi-bin/cvsweb/siteedit%2b%2b/

The files sqdataset.hpp and sqdataset.cpp define the interface that I'm
using in that program, which is just a thin wrapper around the C api. 
This same interface would be pretty easy to implement in Delphi, with the
functions imported from the DLL.

Clay
-- 
Lazarus Notes from Lazarus Internet Development
http://www.lazarusid.com/notes/
Articles, Reviews and Commentary on web development

Reply via email to