Hi Team,

Actually this is the case. From my main application i created two thread (One 
thread is for read from table 1 on the DB and another thread is for write into 
a separate table (Say table 2) on the DB). Similary i created two separate 
connection to DB (For these two thread to operate)using sqlite3 * and i used  
sqlite3_open() to open the DB connection (That is two sqlite3_open() for two 
connection). Once i started the operation (writing and reading using 
sqlite3_exec()) the thread which trying to read getting SQLITE_BUSY (error code 
5 and error message database is locked) and result writing to the DB was 
successfully done (Thread 1 operation). 


Thank you
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to