diff options
author | drh <> | 2022-10-18 20:27:02 +0000 |
---|---|---|
committer | drh <> | 2022-10-18 20:27:02 +0000 |
commit | 7a2a8cee5a8f8117a0960be062c3107900d335b2 (patch) | |
tree | b3730222df9acee006e49b840c25ee65e8b25fac /src/sqliteInt.h | |
parent | a331cf7e5792949ada1371bf61fdbf3b26e9d8d5 (diff) | |
download | sqlite-7a2a8cee5a8f8117a0960be062c3107900d335b2.tar.gz sqlite-7a2a8cee5a8f8117a0960be062c3107900d335b2.zip |
Improved byte-code comments for the OP_Column opcodes used by the
indexed expression optimization.
FossilOrigin-Name: bf6d837fddbf74d5b3f40ad01ea4564edfac00b651d6f3f0e996cc5dc18bb06c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0e02db8cc..a437cc0d2 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3583,6 +3583,9 @@ struct IndexedExpr { int iIdxCol; /* The index column that contains value of pExpr */ u8 bMaybeNullRow; /* True if we need an OP_IfNullRow check */ IndexedExpr *pIENext; /* Next in a list of all indexed expressions */ +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + const char *zIdxName; /* Name of index, used only for bytecode comments */ +#endif }; /* |