]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If an error occurs within sqlite3_step() on a statement prepared using sqlite3_prepar...
authordan <dan@noemail.net>
Thu, 27 Oct 2011 15:19:58 +0000 (15:19 +0000)
committerdan <dan@noemail.net>
Thu, 27 Oct 2011 15:19:58 +0000 (15:19 +0000)
commit029ead645d5f5675ea0534a1d23ac1382f926e5e
tree2ce1f3d538ca4effd3a6512807bc78a602f74021
parent7abc54021c22e1253b3d0b537a64679f18246949
If an error occurs within sqlite3_step() on a statement prepared using sqlite3_prepare_v2(), transfer both the error code and error message to the database handle before sqlite3_step() returns (so that they are available via sqlite3_errcode() and sqlite3_errmsg(). Prior to this commit, only the error code was transfered. The error message was not available until after either sqlite3_reset() or sqlite3_finalize() had been called on the statement handle.

FossilOrigin-Name: 8f88cc4e616b4b30ed349f89e148f782da5cb6c4
manifest
manifest.uuid
src/vdbeInt.h
src/vdbeapi.c
src/vdbeaux.c
test/errmsg.test [new file with mode: 0644]