Re: [Chicken-users] extension loading in sqlite3 egg
On 2016-06-07 21:08, Kristian Lein-Mathisen wrote: > [...] > Thank you very much, Thomas! Works great for my purposes. Any chance of > giving this a new tag for release? > [...] Hello Kristian, I'll take your positive response as a successful test result and just add a tag to the sqlite3 egg ;-) Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] extension loading in sqlite3 egg
Thank you very much, Thomas! Works great for my purposes. Any chance of giving this a new tag for release? K. On Tue, May 24, 2016 at 11:26 PM, Thomas Chustwrote: > On 2016-05-24 11:25, Kristian Lein-Mathisen wrote: > > [...] > > In the sqlite3 command-line, this works fine. The solution was to enable > > extension loading which is not allowed by default: > > https://www.sqlite.org/c3ref/enable_load_extension.html > > > > However, this Sqlite3 function isn't available in the egg. > > [...] > > Hello, > > I have added an enable-load-extension! procedure to the trunk version of > the sqlite3 egg. In addition to what your patch did, I added some > boilerplate error checking code, which can't hurt, and a feature flag to > turn the procedure into a stub, in case someone wants to compile the egg > with an old or otherwise restricted version of SQLite3. > > Ciao, > Thomas > > > -- > When C++ is your hammer, every problem looks like your thumb. > > ___ > Chicken-users mailing list > Chicken-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-users > ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] extension loading in sqlite3 egg
On 2016-05-24 11:25, Kristian Lein-Mathisen wrote: > [...] > In the sqlite3 command-line, this works fine. The solution was to enable > extension loading which is not allowed by default: > https://www.sqlite.org/c3ref/enable_load_extension.html > > However, this Sqlite3 function isn't available in the egg. > [...] Hello, I have added an enable-load-extension! procedure to the trunk version of the sqlite3 egg. In addition to what your patch did, I added some boilerplate error checking code, which can't hurt, and a feature flag to turn the procedure into a stub, in case someone wants to compile the egg with an old or otherwise restricted version of SQLite3. Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users