Using the Tcl interface with the "profile" callback set, "onecolumn" and "exists" returns empty result.
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 sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users