]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Add the OP_ReopenIdx opcode that works like OP_OpenRead except that it becomes
authordrh <drh@noemail.net>
Tue, 22 Jul 2014 20:02:19 +0000 (20:02 +0000)
committerdrh <drh@noemail.net>
Tue, 22 Jul 2014 20:02:19 +0000 (20:02 +0000)
commit3526319b483fac1aba4dd19c93ebd61aa2663b97
treebdbc66cef06da1ddfa50b7bc274542cd14bf6b11
parenta45fdc7b1e3faabdd579e89415db4551d4d38005
Add the OP_ReopenIdx opcode that works like OP_OpenRead except that it becomes
a no-op if the cursor is already open on the same index.  Update the
OR-optimization logic to make use of OP_ReopenIdx in order to avoid
unnecessary cursor open requests sent to the B-Tree layer.

FossilOrigin-Name: 77f412caf0192d3e7fecb377d6d72123d8b64424
manifest
manifest.uuid
src/sqliteInt.h
src/vdbe.c
src/vdbeInt.h
src/where.c