Re: [sqlite] List of active savepoints names

2009-09-22 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lukas Gebauer wrote: > You must be very unhappy about current existence of > sqlite3_get_autocommit function, right? You said, by the way: "It is > not needed, if you organize your code well." :D It is the same case! Personally I don't use it since

Re: [sqlite] List of active savepoints names

2009-09-22 Thread Dan Kennedy
On Sep 22, 2009, at 2:38 PM, Lukas Gebauer wrote: >> A simple rule of thumb is to look at how useful features would be to >> other SQLite users. Note that you are the only one to have asked for >> this feature and not one other person has agreed with you on its >> need! >> The responses have g

Re: [sqlite] List of active savepoints names

2009-09-22 Thread Lukas Gebauer
> A simple rule of thumb is to look at how useful features would be to > other SQLite users. Note that you are the only one to have asked for > this feature and not one other person has agreed with you on its need! > The responses have generally been along the lines of suggesting you > organize y

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Jim Showalter
21, 2009 10:42 AM Subject: Re: [sqlite] List of active savepoints names > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lukas Gebauer wrote: >> I am not creating and releasing savepoints! > > Yes you are. The SQLite library is not magically doing them on a > whi

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lukas Gebauer wrote: > I am not creating and releasing savepoints! Yes you are. The SQLite library is not magically doing them on a whim. Your code is asking for them. >> You can create a custom wrapper for savepoints which may have >> the stack o

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Pavel Ivanov
> 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. So, just take SQLite code, implement this trivial function and use it as you like. It will be a separate function, you will not ch

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Lukas Gebauer
> > > > 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

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Alexey Pechnikov
Hello! On Monday 21 September 2009 11:48:37 Lukas Gebauer wrote: > > > 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 exam

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Lukas Gebauer
> > 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. -- Lukas Gebauer. E-mail: gebau...@mlp.cz http://synapse.ararat.cz/

Re: [sqlite] List of active savepoints names

2009-09-21 Thread Lukas Gebauer
> > 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

Re: [sqlite] List of active savepoints names

2009-09-18 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lukas Gebauer wrote: > 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? Also IIRC you can also have d

Re: [sqlite] List of active savepoints names

2009-09-18 Thread Pavel Ivanov
> 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? Pavel On Fri, Sep 18, 2009 at 5:55 AM, Lukas Gebauer wrote: > > Hello all! > > I am searching some API function for get list

[sqlite] List of active savepoints names

2009-09-18 Thread Lukas Gebauer
Hello all! I am searching some API function for get list of active savepoint names. Is this possible? Thank you! -- Lukas Gebauer. E-mail: gebau...@mlp.cz http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ___ sqlite-users mailing list sqli