aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2021-03-29 18:53:47 +0000
committerdrh <>2021-03-29 18:53:47 +0000
commit4bc20452b585f718edf5fe978828e13a0f5a85d5 (patch)
tree7a86954647b77565da9ec5ff3d31450efcff606f /src/sqliteInt.h
parent871e7ff43db2fffa5cee2b4db263a28bda51a2cb (diff)
downloadsqlite-4bc20452b585f718edf5fe978828e13a0f5a85d5.tar.gz
sqlite-4bc20452b585f718edf5fe978828e13a0f5a85d5.zip
Omit the SQLITE_STOREP2 and SQLITE_KEEPNULL options from the comparison
opcodes, allowing them to run faster. This required refactoring the vector comparison logic, which in turn required changing OP_ElseNotEq into OP_ElseEq. FossilOrigin-Name: 380b46054b6a9b67e57357815e8e94057253fa3cce838ae76e5d5031c6bd26b2
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index cd2e9a2e2..09a692d1b 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2104,9 +2104,7 @@ struct CollSeq {
** operator is NULL. It is added to certain comparison operators to
** prove that the operands are always NOT NULL.
*/
-#define SQLITE_KEEPNULL 0x08 /* Used by vector == or <> */
#define SQLITE_JUMPIFNULL 0x10 /* jumps if either operand is NULL */
-#define SQLITE_STOREP2 0x20 /* Store result in reg[P2] rather than jump */
#define SQLITE_NULLEQ 0x80 /* NULL=NULL */
#define SQLITE_NOTNULL 0x90 /* Assert that operands are never NULL */