On 26 Jun 2012, at 1:03pm, "Igor Tandetnik" <itandet...@mvps.org> wrote:

> Simon Slavin <slav...@bigfraud.org> wrote:
>> Use sqlite3_result_int(stmt, 0) to get the value of the first (only) column 
>> of the row.
> 
> Make it sqlite3_column_int. sqlite3_result_* is used inside custom functions, 
> to set the return value of the function call.

Argh.  Thanks Igor.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to