[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] extension loading in sqlite3 egg
From: |
Thomas Chust |
Subject: |
Re: [Chicken-users] extension loading in sqlite3 egg |
Date: |
Tue, 24 May 2016 23:26:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
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.