> > > > I am searching some API function for get list of active
> > > > savepoint names. Is this possible? Thank you!

> > > No, this is not possible. Why do you need it in the first place?

> > It will be great for debugging, for example.

> You can create a custom wrapper for savepoints which may have 
> the stack of calls.

Why I must duplicate code what is inside Sqlite too? Ad-absurdum - it 
is like you suggest me to implement my own Sqlite clone. *grin*

Sqlite have savepoint stack inside (AFAIK). I really not know why is 
a problem to list this stack through some API. (But maybe it really 
is a problem, I don't know, but nobody tell this yet...)

Yes, I can create my own wrapper, what can work with my code only, 
however with third-party code not. I can catch all savepoint and 
transaction commands and try to simulate what happen inside Sqlite. 
Maybe I made same decision as Sqlite. With each Sqlite version I must 
check, if handling in Sqlite was not changed. Etc. Well, I not see 
this as effective and reliable solution anymore.

And now compare it with simple API funtion what just list existing 
savepoint stack inside Sqlite. It is simple, trivial, useful... and 
working right at any case. 

This is why I am asking for. Thanks!



-- 
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