I have multiple thread reading the database and a thread inserting in or
updating the database.
when i try to simulate this case by executing sqlite3 from shell by
beginning a transaction from a shell and retrieving data from other shell
eveything works fine.
But when it's the cas from my C program it raises the error message database
is locked.
How can i avoid this issue?
thanks a lot

2007/2/5, Dennis Cote <[EMAIL PROTECTED]>:

anis chaaba wrote:
> Hello
> Please can you tell me how can i avoid having error message "database is
> locked'?
> thanks
>
You will have to provide more details about exactly what  you are doing
and how you are doing it for anybody to be able to assist you.

SQLite does support multiple process accessing the database. This page
explains the nature of your error in more detail
http://www.sqlite.org/cvstrac/wiki?p=DatabaseIsLocked

HTH
Dennis Cote


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]

-----------------------------------------------------------------------------


Reply via email to