RE: [sqlite] Bug in SQLite C++ Wrapper?

2005-06-25 Thread Brown, Dave
Aha, thanks! -Original Message- From: Cory Nelson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 25, 2005 11:30 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Bug in SQLite C++ Wrapper? cmd.executenonquery() creates a reader, which calls reset when destructed :) On 6/25/05

Re: [sqlite] Bug in SQLite C++ Wrapper?

2005-06-25 Thread Cory Nelson
cmd.executenonquery() creates a reader, which calls reset when destructed :) On 6/25/05, Brown, Dave <[EMAIL PROTECTED]> wrote: > > In looking at the SQLite C++ Wrapper (http://dev.int64.org/sqlite.html) I > noticed the example insert code has a loop like: > > for(int i=0; i<1; i++) { >

[sqlite] Bug in SQLite C++ Wrapper?

2005-06-25 Thread Brown, Dave
In looking at the SQLite C++ Wrapper (http://dev.int64.org/sqlite.html) I noticed the example insert code has a loop like: for(int i=0; i<1; i++) { cmd.bind(1, i); cmd.executenonquery(); } but sqlite3_reset() isn't being called each time after the statement is executed