aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-09-27 15:01:02 +0000
committerdrh <drh@noemail.net>2019-09-27 15:01:02 +0000
commit818a3b548647d7a314771f455c93be5ff6440047 (patch)
tree4fd801ec73d2fd1d46c78ecf49602d80839c91c9 /src/sqliteInt.h
parent7971b7fe92cf262e5a6a4964b5acdfa683945872 (diff)
downloadsqlite-818a3b548647d7a314771f455c93be5ff6440047.tar.gz
sqlite-818a3b548647d7a314771f455c93be5ff6440047.zip
Fix sqlite3ExprCompare() so that it ignores differences in the Expr.iTable
field for IN operators, as otherwise it can lead to false negatives, which is usually harmless, but can cause problems for an assert() in the window function logic. FossilOrigin-Name: 6a204b192a6c6f21988cab217366f21b14c672b81ceadc43675761a6d8c4484f
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 2934a16e9..9d19b4ce7 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2474,6 +2474,7 @@ struct Expr {
** TK_REGISTER: register number
** TK_TRIGGER: 1 -> new, 0 -> old
** EP_Unlikely: 134217728 times likelihood
+ ** TK_IN: ephemerial table holding RHS
** TK_SELECT_COLUMN: Number of columns on the LHS
** TK_SELECT: 1st register of result vector */
ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.