Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by James for Why sqlite is allowing second process to do write...

SQLite does locks around transactions, not open connections. Without an explicit transaction (which you don't appear to be doing) each SQL statement is a separate transaction that ends when the...

View Article


Why sqlite is allowing second process to do write operation while first...

I have written two process code both codes are copied below , let us assume sqlitep1.c refers to p1 and sqlitep2.c refers to p2 p1 constantly reads from database file sample.db and p2 writes to...

View Article

Browsing latest articles
Browse All 2 View Live