Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-07-01 Thread Dan Kennedy
On 06/30/2012 04:27 AM, Jeff Archer wrote: Simon Slavin slavins at bigfraud.org Fri Jun 29 17:16:36 EDT 2012 Do you do the _prepare() first, then make a change to the database schema ? For instance Start of app Prepare the INSERT statement CREATE TABLE Bind the INSERT statement Step the

Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Simon Slavin
On 29 Jun 2012, at 10:16pm, Simon Slavin wrote: >> Not likely. I do Prepare, Bind, Step, Finalize using a wrapper function. >> The database file was created only moments before. I'm sorry. I should have realised this was a FAQ:

Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Jay A. Kreibich
On Fri, Jun 29, 2012 at 05:27:25PM -0400, Jeff Archer scratched on the wall: > >Pavel Ivanov paivanof at gmail.com Fri Jun 29 17:06:42 EDT 2012 > > > >Because SQLite successfully re-prepared this statement behind the > >scenes and thus was able to successfully finish sqlite3_step() > >function. >

Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Simon Slavin
On 29 Jun 2012, at 10:27pm, Jeff Archer wrote: >> Pavel Ivanov paivanof at gmail.com Fri Jun 29 17:06:42 EDT 2012 >> >> Because SQLite successfully re-prepared this statement behind the >> scenes and thus was able to successfully finish sqlite3_step() >> function. > > What

[sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Jeff Archer
>Simon Slavin slavins at bigfraud.org Fri Jun 29 17:16:36 EDT 2012 > >Do you do the _prepare() first, then make a change to the database schema ? For instance > >Start of app >Prepare the INSERT statement >CREATE TABLE >Bind the INSERT statement >Step the INSERT statement No. Create Table Then

[sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Jeff Archer
>Pavel Ivanov paivanof at gmail.com Fri Jun 29 17:06:42 EDT 2012 > >Because SQLite successfully re-prepared this statement behind the >scenes and thus was able to successfully finish sqlite3_step() >function. What could cause it to "re-prepare" the statement? Is this something I need to find and

Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Simon Slavin
On 29 Jun 2012, at 9:55pm, Jeff Archer wrote: >> Kevin Benson kevin.m.benson at gmail.com Fri Jun 29 16:32:55 EDT 2012 >> >> The mention of SQLITE_SCHEMA error and sqlite3VdbeExec() sounds like maybe >> you're fighting an expired statement??? > > Not likely. I do Prepare,

Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Pavel Ivanov
On Fri, Jun 29, 2012 at 4:55 PM, Jeff Archer wrote: >>Kevin Benson kevin.m.benson at gmail.com Fri Jun 29 16:32:55 EDT 2012 >> >>The mention of SQLITE_SCHEMA error and sqlite3VdbeExec() sounds like maybe >>you're fighting an expired statement??? > > Not likely.  I do Prepare,

[sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Jeff Archer
>Kevin Benson kevin.m.benson at gmail.com Fri Jun 29 16:32:55 EDT 2012 > >The mention of SQLITE_SCHEMA error and sqlite3VdbeExec() sounds like maybe >you're fighting an expired statement??? Not likely. I do Prepare, Bind, Step, Finalize using a wrapper function. The database file was created

Re: [sqlite] Error indicated through SQLITE_CONFIG_LOG callback but sqlite3_step() does not fail

2012-06-29 Thread Kevin Benson
On Fri, Jun 29, 2012 at 3:26 PM, Jeff Archer wrote: > I have been puzzling on this for a couple of days now and am at a loss. I > hate to let something like this go because it appears so much like an > error, I feel like it will just bite me at a later time. > > Any