> > I am searching some API function for get list of active savepoint
> > names. Is this possible? Thank you!
> 
> Since your code is creating and releasing savepoints, why not just
> record them in your code?

I am not creating and releasing savepoints! They are created and 
released by Sqlite, I just calling commands. ;-) So, Sqlite must know 
what savepoints exists at any time. Would be easy allow to read this 
set of savepoint names, AFAIK.

Doing it in my code is little silly. Just because I must duplicate 
lot of code for decide if savepoint is or not is created, if is or 
not is released, etc. Additionally, when my application callign some 
third-party code for accessing sqlite, then I cannot do this easily.

However list of active savepoints would be great for debugging, for 
enhanced debug info for exception dialogs, etc.

> Also IIRC you can also have duplicate names.

Never mind. It not break anything. When I got list of savepoints 
names sorted in same order as is inside SQlite, then I got exactly 
what I need.



-- 
Lukas Gebauer.

E-mail: gebau...@mlp.cz
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.

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

Reply via email to