[Mono-list] Sqlite Client

Joshua Tauberer tauberer at for.net
Tue Nov 29 15:22:01 EST 2005


Ecmel Ercan wrote:
> Executing the commands separetly is against atomicity.
> 
> What happens if in the middle of a statement some exception occurs?
> 
> Sometime ago, I used the sqlite C api and as I recall, you can pass
> any number of sql commands in one statement and it executes all or
> none. This ensures integrity of the database.

I wasn't aware of that and never got that impression from the docs (for 
version 3 at least), but if you can point me to something explaining it, 
or show me that that's true, then we'll have the mono binding do the 
same thing.  Eventually.  I can't work on it for a few weeks, so maybe 
another SqliteClient hacker will want to pick this up.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




More information about the Mono-list mailing list