It uses OS-level file locking.

Read http://sqlite.org/atomiccommit.html

g

 

-----Original Message-----
From: Igor Tandetnik [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 07, 2008 2:14 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] How does sqlite return the status of the data base

Rick Pritchett <[EMAIL PROTECTED]> wrote:
> So how does it handle the transactions?  Is it just however it
> retrieves them

What do you mean, "retrieves them"? Retrieves from where?

> or just which notices that the DB is available? And
> how does sql return the state its in to the proc?

When you call sqlite3_step, and the database is locked by another 
connection, the call returns SQLITE_BUSY error.

Igor Tandetnik




_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to