On Sun, Sep 1, 2013 at 11:43 PM, David Given wrote:
> What I'm actually trying to do is to add some functionality which is
> accessed via a couple of extra SQL functions. What's the preferred way
> to do this?
>
Most of the custom funcs are registered in db.c:db_open(), but apparently
that one i
On 29/08/13 23:19, David Given wrote:
[...]
> I enclose a patch which I think fixes it; please comment...
A little bit more investigation shows that there's actually several ways
in which the code initialises the database connection, and they all very
slightly, and I'm now a bit confused. It looks
I've found a minor bug in the way the patched sqlite3 shell handles
opening the db. In particular, this code from shell.c:
if( data.zDbFilename==0 ){
#ifndef SQLITE_OMIT_MEMORYDB
data.zDbFilename = ":memory:";
#else
fprintf(stderr,"%s: Error: no database filename specified\n", Argv0);
3 matches
Mail list logo