On Wed, Jan 25, 2012 at 1:13 PM, Richard Hipp <d...@sqlite.org> wrote:
> On Wed, Jan 25, 2012 at 10:18 AM, John Elrick <john.elr...@fenestra.com > >wrote: > > > > > I do have some more information for you. I tracking everything which > could > > call reset and discovered that all of these are stemming from > > > > SQLITE_PRIVATE int sqlite3VdbeHalt(Vdbe *p){ > > .... > > /* Rollback or commit any schema changes that occurred. */ > > if( p->rc!=SQLITE_OK && db->flags&SQLITE_InternChanges ){ > > fenestra_sqlite3_dump_stack_trace("rollback in vdbeHalt"); > > sqlite3ResetInternalSchema(db, -1); > > db->flags = (db->flags | SQLITE_InternChanges); > > } > > > > What is the value of p->rc when these resets occur? Do I understand > correctly that your application is making a bunch of schema changes, then > doing other operations, at least one of which fails? > > > 'p->rc=17, db->flags=48100a00, db->flags&SQLITE_InternChanges=200' "A bunch" is a bit nebulous but essentially yes. Your description looks accurate. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users