]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Add an OP_VerifyCookie instruction to "CREATE XXX IF NOT EXISTS" commands. This way...
authordan <dan@noemail.net>
Sat, 9 Apr 2011 15:39:02 +0000 (15:39 +0000)
committerdan <dan@noemail.net>
Sat, 9 Apr 2011 15:39:02 +0000 (15:39 +0000)
commit7687c83d4c8837e42d6b813695fec95afd00dc9d
tree0d3b51203c83ff3d4eac381b03f7acefab1c5e75
parentc2822b76b4214665be3ae068cd0337f8aa72f306
Add an OP_VerifyCookie instruction to "CREATE XXX IF NOT EXISTS" commands. This way, if the specified database object existed when the statement was compiled but removed from the database before sqlite3_step() was called, the statement still works as expected (and creates the object).

FossilOrigin-Name: b9dbd9936191666c3fc9889e938344a82cc03aeb
manifest
manifest.uuid
src/build.c
src/trigger.c
test/exists.test [new file with mode: 0644]