]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Omit the unnecessary not-NULL check on the upper bound of a forward index
authordrh <drh@noemail.net>
Sat, 15 Aug 2020 19:58:59 +0000 (19:58 +0000)
committerdrh <drh@noemail.net>
Sat, 15 Aug 2020 19:58:59 +0000 (19:58 +0000)
commit398221e2ad4b553621df09d73b1d0931a52ff269
treecf4e4b45c3e360a4541f32922efd39951287c0cb
parent861889e4f8e63e5f9f7508419fe01fe5de8ccb49
Omit the unnecessary not-NULL check on the upper bound of a forward index
range scan.  The subsequent OP_IdxGT will always catch the NULL.  Similarly,
omit the not-NULL check on the lower bound of a reverse index range scan,
as the SeekLE opcode will disallow the NULL.

FossilOrigin-Name: e51ecadcbdef5ce6e41d68412aee70aa4a1416c850358a6fa7e9a1ab443e719d
manifest
manifest.uuid
src/wherecode.c