Re: [sqlite] sqlite3_set_auxdata & invalid pointer

2012-01-17 Thread gwenn
I guess that "sqlite3_set_auxdata" cannot be called by the xStep implementation of an aggregate function. The doc says: "The following two functions may be used by scalar SQL functions to associate metadata with argument values." I will try with "sqlite3_aggregate_context". Sorry for the

[sqlite] sqlite3_set_auxdata & invalid pointer

2012-01-14 Thread gwenn
Hello, I am trying to add custom aggregation function support in a golang driver (scalar functions are ok). While testing, I got this: *** glibc detected *** ./6.out: realloc(): invalid pointer: 0x02daa1c5 *** === Backtrace: =