diff options
author | drh <drh@noemail.net> | 2010-04-08 15:01:44 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-04-08 15:01:44 +0000 |
commit | 7caba669a67665e8b69923b44ef7630795820e4e (patch) | |
tree | e4001c631fa9174a20151dd1303301f6840147ba /src/resolve.c | |
parent | 8bd5412b90c8dcdd052ed9179b8cc4aad4b36d00 (diff) | |
download | sqlite-7caba669a67665e8b69923b44ef7630795820e4e.tar.gz sqlite-7caba669a67665e8b69923b44ef7630795820e4e.zip |
New test cases for automatic indices. New testcase() macros associated
with column-used bitmasks.
FossilOrigin-Name: e1aa48ace7e43c3805278120b8228ee597e2cee7
Diffstat (limited to 'src/resolve.c')
-rw-r--r-- | src/resolve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve.c b/src/resolve.c index 3a44aef62..2adf4e28e 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -415,6 +415,8 @@ Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){ p->iColumn = -1; }else{ p->iColumn = (ynVar)iCol; + testcase( iCol==BMS ); + testcase( iCol==BMS-1 ); pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol); } ExprSetProperty(p, EP_Resolved); |