On Sun, Sep 1, 2013 at 11:43 PM, David Given <d...@cowlark.com> 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 isn't used by the sqlite command: [stephan@host:~/cvs/fossil/libfossil]$ f sqlite SQLite version 3.8.1 2013-08-30 06:20:23 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select now(); Error: no such function: now It "might" help to split those func registrations into a separate function and call it from both db_open() and the sqlite command setup. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users