Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-10 Thread John Stanton
Roger Binns wrote: >> John Stanton has correctly pointed out that there is a programming model >> here an application effectively does the cacheing itself by precompiling > > statements at startup. > > That is not caching and it would be unaffected by any caching scheme. > sqlite3_finalize

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-10 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas E. Fajardo wrote: > John Stanton has correctly pointed out that there is a programming model here > an application > effectively does the cacheing itself by precompiling statements at startup. > In this situation, > the proposed cacheing

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-10 Thread Douglas E. Fajardo
To: General Discussion of SQLite Database Subject: Re: [sqlite] Distinguishing between sqlite3_stmts You make a argument for Bloatware. It is not oersuasive. JS Roger Binns wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John Stanton wrote: > >>Perhaps this featr

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-10 Thread Douglas E. Fajardo
] Distinguishing between sqlite3_stmts On Nov 8, 2008, at 3:25 AM, Roger Binns wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Douglas E. Fajardo wrote: >> ( To the 'powers that be'... I wonder if some form of 'cache' for >> prepared statements might be built in

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-10 Thread John Stanton
You make a argument for Bloatware. It is not oersuasive. JS Roger Binns wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John Stanton wrote: > >>Perhaps this featrure could be reserved for "Sqlheavy", a replacement >>for Oracle. > > > Or a #if OMIT_STATEMENT_CACHE like all sorts

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-08 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Stanton wrote: > Perhaps this featrure could be reserved for "Sqlheavy", a replacement > for Oracle. Or a #if OMIT_STATEMENT_CACHE like all sorts of other functionality that can be omitted. > We have actually implemented the cacheing of

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-08 Thread John Stanton
Dan wrote: > On Nov 8, 2008, at 3:25 AM, Roger Binns wrote: > > >>-BEGIN PGP SIGNED MESSAGE- >>Hash: SHA1 >> >>Douglas E. Fajardo wrote: >> >>> ( To the 'powers that be'... I wonder if some form of 'cache' for >>>prepared statements might be built in to the 'sqlite3_prepare*'

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-07 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan wrote: >> http://www.sqlite.org/cvstrac/tktview?tn=3483 > > Are there advantages to implementing this internally instead of > externally? Firstly there is an advantage to having a statement cache. I use a benchmark based on

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-07 Thread Dan
On Nov 8, 2008, at 3:25 AM, Roger Binns wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Douglas E. Fajardo wrote: >> ( To the 'powers that be'... I wonder if some form of 'cache' for >> prepared statements might be built in to the 'sqlite3_prepare*' >> functions as a

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-07 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas E. Fajardo wrote: >( To the 'powers that be'... I wonder if some form of 'cache' for prepared > statements might be built in to the 'sqlite3_prepare*' functions as a > performance enhancement? ) I couldn't find an existing ticket so

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-07 Thread Douglas E. Fajardo
Hipp Sent: Thursday, November 06, 2008 4:54 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Distinguishing between sqlite3_stmts On Nov 6, 2008, at 7:47 PM, Brown, Daniel wrote: > Good afternoon list, > > Are there any methods for distinguishing between sqlite3_stmt >

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-06 Thread Brown, Daniel
] [mailto:[EMAIL PROTECTED] On Behalf Of D. Richard Hipp Sent: Thursday, November 06, 2008 4:54 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Distinguishing between sqlite3_stmts On Nov 6, 2008, at 7:47 PM, Brown, Daniel wrote: > Good afternoon list, > > Are there an

Re: [sqlite] Distinguishing between sqlite3_stmts

2008-11-06 Thread D. Richard Hipp
On Nov 6, 2008, at 7:47 PM, Brown, Daniel wrote: > Good afternoon list, > > Are there any methods for distinguishing between sqlite3_stmt > structures > prepared by sqlite3_prepare_v2? I'd like to be able to tell if a > statement structure has been finalized and then prepared with a >

[sqlite] Distinguishing between sqlite3_stmts

2008-11-06 Thread Brown, Daniel
Good afternoon list, Are there any methods for distinguishing between sqlite3_stmt structures prepared by sqlite3_prepare_v2? I'd like to be able to tell if a statement structure has been finalized and then prepared with a different query programmatically. Is there any sort of unique identifier