Quoth Scott A Mintz <sami...@ra.rockwell.com>, on 2010-12-27 14:41:23 -0500:
> I know that I can use sqlite3_last_insert_rowid() to retrieve the value. 
> However, in a multi-threaded environment, it's possible for another thread 
> to do an INSERT before I get the first result.

That'll only affect the last_insert_rowid if the other thread is using the
same connection (and not just the same database), which ideally you shouldn't
be doing anyway.  Is that the case here?

   ---> Drake Wilson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to