1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Generalize the IS and IS NOT operators so that their right-hand side can be

an arbitrary expression and not simple the constant NULL.  They work like
= and <> except that NULL values compare equal to one another an unequal to
everything else.

FossilOrigin-Name: 98853f6104076c50ea92175e17a3254bfbbd4619
This commit is contained in:
drh
2009-09-23 02:29:36 +00:00
parent 7ba5bc5bf2
commit 6a2fe09387
7 changed files with 134 additions and 47 deletions

View File

@@ -1126,6 +1126,7 @@ struct CollSeq {
*/
#define SQLITE_JUMPIFNULL 0x08 /* jumps if either operand is NULL */
#define SQLITE_STOREP2 0x10 /* Store result in reg[P2] rather than jump */
#define SQLITE_NULLEQ 0x80 /* NULL=NULL */
/*
** An object of this type is created for each virtual table present in