1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Improved byte-code comments for the OP_Column opcodes used by the

indexed expression optimization.

FossilOrigin-Name: bf6d837fddbf74d5b3f40ad01ea4564edfac00b651d6f3f0e996cc5dc18bb06c
This commit is contained in:
drh
2022-10-18 20:27:02 +00:00
parent a331cf7e57
commit 7a2a8cee5a
5 changed files with 17 additions and 9 deletions

View File

@@ -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
};
/*