[sqlite] create virtual table if not exists

2009-10-09 Thread cefbear
Hey there, this has already been requested over two years ago (2007-08-30), but the ticket (#2604) is still pending: http://www.sqlite.org/cvstrac/tktview?tn=2604 The patch by Scott Hess (2008-08-28) looks sane - should be no problem to apply. Without this statement, I have to check

Re: [sqlite] Use VDBE in extension

2009-08-02 Thread cefbear
Okay, I have givven up implementing direct VDBE access in a loadable extension. Last thing I tried was to link the extension against all needed objects. Read: > cd sqlite/src > for f in *.c; do gcc -c "$f"; done > cd ../.. > gcc -shared sqlite/src/*.o ext.o -o ext.so ...or something like that.

[sqlite] Use VDBE in extension

2009-07-26 Thread cefbear
Hey there, I am trying to access the VDBE directly from within a loadable extension. Compiling works, but loading the extension fails with > undefined symbol: sqlite3VdbeCreate My includes look like this: > #include "sqlite3ext.h" > #include "sqliteInt.h" > #include "vdbe.h" Code: > Vdbe *v