Yes. But

Process A begin 
Process A insert 
            Process B begin 
            Process B insert 
Process A end 
            Process B end 

In fact, begin means "BEGIN" and end means "COMMIT". 
So I think the result is strange. 

And I guess the difference between Serilaized and Multithread is that if it
is allowed to shared the structure sqlite3 *db (together with prepared
statement) among threads. If I use Serilaized mode, then I could run
sqlite3_open(db) for only one time and all the threads could use the unique
"db". Is it right?

Sent from:
sqlite-users mailing list

Reply via email to