On Mon, 24 May 2010 18:19:23 -0700 (PDT), liubin liu <7101...@sina.com> wrote:
>Thank you for you reply, :) > >But I see the return errmsg is "unknown error" on sqlite3.6.23-1. >What does it mean? Oops, I didn't read your original post carefully enough and I defaulted to the standard answer ;) Anyway, it returns result code 101. http://www.sqlite.org/c3ref/c_abort.html says: #define SQLITE_DONE 101 /* sqlite3_step() has finished executing */ Which just means you don't have to execute another sqlite3_step(). I don't know why sqlite3_errmsg() returns 'unknown error'. All I can say it is not very useful to call sqlite3_errmsg() on a correct result. -- ( Kees Nuyt ) c[_] _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users