Re: [sqlite] Different behaviour of auxiliary data between 3.7.17 and 3.8.0

2014-02-09 Thread gwenn
Yes, you are right. Thanks for the investigation. On Sun, Feb 9, 2014 at 11:54 PM, Richard Hipp wrote: > This behavior change is in response to ticket > http://www.sqlite.org/src/info/406d3b2ef9 - a diff across several check-ins > that makes this change can be seen here: > > >

Re: [sqlite] Different behaviour of auxiliary data between 3.7.17 and 3.8.0

2014-02-09 Thread Richard Hipp
This behavior change is in response to ticket http://www.sqlite.org/src/info/406d3b2ef9 - a diff across several check-ins that makes this change can be seen here: http://www.sqlite.org/src/vdiff?from=b1b0de29fdf7de83=62465ecba7431e1d=1=25 Note that the behavior changes brings the implementation

Re: [sqlite] Different behaviour of auxiliary data between 3.7.17 and 3.8.0

2014-02-09 Thread gwenn
Here you are: #include #include #include "sqlite3.h" static void reuseAuxDataCountFunc( sqlite3_context *ctx, int argc, sqlite3_value **argv ){ int *reuseAuxDataCount; int value; (void)argc; /* Unused parameter */ reuseAuxDataCount = (int*)sqlite3_get_auxdata(ctx, 0); if

Re: [sqlite] Different behaviour of auxiliary data between 3.7.17 and 3.8.0

2014-02-09 Thread Richard Hipp
Can you provide an example program that omits the glib.h dependency? On Sun, Feb 9, 2014 at 10:50 AM, gwenn wrote: > Hello, > I am not sure but it seems there is a regression between versions > 3.7.17 and 3.8.0. > It's impacting custom/user declared function and auxiliary

[sqlite] Different behaviour of auxiliary data between 3.7.17 and 3.8.0

2014-02-09 Thread gwenn
Hello, I am not sure but it seems there is a regression between versions 3.7.17 and 3.8.0. It's impacting custom/user declared function and auxiliary data. sqlite-amalgamation-3071700 gwen$ gcc -I/usr/local/Cellar/glib/2.38.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.38.2/lib/glib-2.0/include