On 6/13/16, Eric Boudaillier <[email protected]> wrote: > Using the Tcl interface with the "profile" callback set, "onecolumn" and > "exists" returns empty result.
Tnx for the bug report. Fixed by https://www.sqlite.org/src/info/d362ba157f993fc7 > > In the code, in DB_EXISTS/DB_ONECOLUMN branch, Tcl_SetObjResult() is called > before dbEvalFinalize(), inlike in the DB_EVAL branch. > > The profile callback is probably called inside dbEvalFinalize(), which then > erase the interp result. > > A temporary Tcl_Obj must be set when computing the result, dbEvalFinalize() > called, then Tcl_SetObjResult called. > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

