Re: [sqlite] [EXTERNAL] Getting SQLITE_LOCKED

2018-11-29 Thread Prajeesh Prakash
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

Re: [sqlite] [EXTERNAL] Getting SQLITE_LOCKED

2018-11-29 Thread Hick Gunter
Locking (errors SQLITE_LOCKED and SQLITE_BUSY) are about **WHAT** you are doing to the DB. There can be at most 1 thread (same process or different process, it does not matter) with a write transaction on any DB file at any time. Typically, a transaction involves multiple calls to sqlite