aboutsummaryrefslogtreecommitdiff
path: root/src/whereInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/whereInt.h')
-rw-r--r--src/whereInt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/whereInt.h b/src/whereInt.h
index e8df283d7..0a2b5c5ce 100644
--- a/src/whereInt.h
+++ b/src/whereInt.h
@@ -261,9 +261,11 @@ struct WhereTerm {
u8 eMatchOp; /* Op for vtab MATCH/LIKE/GLOB/REGEXP terms */
int iParent; /* Disable pWC->a[iParent] when this term disabled */
int leftCursor; /* Cursor number of X in "X <op> <expr>" */
- int iField; /* Field in (?,?,?) IN (SELECT...) vector */
union {
- int leftColumn; /* Column number of X in "X <op> <expr>" */
+ struct {
+ int leftColumn; /* Column number of X in "X <op> <expr>" */
+ int iField; /* Field in (?,?,?) IN (SELECT...) vector */
+ } x; /* Opcode other than OP_OR or OP_AND */
WhereOrInfo *pOrInfo; /* Extra information if (eOperator & WO_OR)!=0 */
WhereAndInfo *pAndInfo; /* Extra information if (eOperator& WO_AND)!=0 */
} u;