[sqlite] Allowable SQLite calls during sqlite3_extension_init ?

2009-06-13 Thread Jean-Christophe Deschamps
Hi everyone, Is it possible to invoke SQLite functions while INITing a loadable extension? I ask because I need to know if the design I've in mind is at all possible. It needs to issue a very simple select on an already opened DB and fetch one row of data, which could all be done with

Re: [sqlite] Allowable SQLite calls during sqlite3_extension_init ?

2009-06-13 Thread Igor Tandetnik
Jean-Christophe Deschamps wrote: Is it possible to invoke SQLite functions while INITing a loadable extension? Of course. The extension is expected to do things like registering custom functions, collations, virtual tables and so on. I ask because I need to know if the design I've in mind is

[sqlite] Allowable SQLite calls during sqlite3_extension_init ?

2009-06-13 Thread Jean-Christophe Deschamps
Dear Igor, Thank you _so_ much for comforting hat part of the idea I have in mind. I have another related question and I hope you or some other guru can point me towards a solution. I use SQLite from some interpreted script language under XP (yes I know). Today's PCs are fast enough to