|
-
April 18th, 2008, 03:47 AM
#1
SQLite "concurrent" write
Anybody use sqlite for multiple write access? SQLite doesn't support multiple write access by itself, but according to sqlite web site, it is possible to do our own write sync using mutex. However i am not able to get this to work..., the database is throwing exception "Concurrent violation:..." whenever i try to do Update..
I am using sqlite ADO.net
m_mutex.WaitOne();
m_sqliteAdapter.Update(m_Dataset, "TableAnalog");
m_mutex.ReleaseMutex();
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|