On Wed, Jan 25, 2012 at 8:02 AM, Richard Hipp <d...@sqlite.org> wrote:
> On Wed, Jan 25, 2012 at 7:53 AM, John Elrick <john.elr...@fenestra.com > >wrote: > > > I started with the place where iGeneration was being changed and found > > nothing out of the ordinary. I started an examination and noticed the > > following. My "huh?" surrounds the question, why is sqlite3SchemaClear > > being called if pBt is assigned? > > > > sqlite3SchemaClear is a destructor. The third parameter to > sqlite3BtreeSchema() is a pointer to the destructor. sqlite3SchemaClear() > is not actually called at this point. Rather, a pointer to > sqlite3SchemaClear() is passed into sqlite3BtreeSchema() and > sqlite3BtreeSchema() then makes arrangements to invoke sqlite3SchemaClear() > at some later time, when the Schema object it has just created gets > destroyed. > > Ah, I see it now. Sorry about that. In Pascal a procedure can be invoked without the (). I sometimes forget to translate. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users