diff options
author | drh <drh@noemail.net> | 2019-10-16 12:18:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-10-16 12:18:59 +0000 |
commit | 81f7b372700d7595f486d364a26304b052eda55a (patch) | |
tree | 9662aac9b19cccaba23c8dce443eb4962b59363a /src/wherecode.c | |
parent | 4ec3e820a00c5372972a0f1b143b2797b21ffb9f (diff) | |
download | sqlite-81f7b372700d7595f486d364a26304b052eda55a.tar.gz sqlite-81f7b372700d7595f486d364a26304b052eda55a.zip |
Initial experimental code for generated column support. Non-functional.
FossilOrigin-Name: 11d472c1df707b8d03ec57d8fc582a34f5eb89a9d02a154a9871650c65065b45
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index e40e3f270..39b9040db 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -2072,7 +2072,7 @@ Bitmask sqlite3WhereCodeOneLoopStart( if( (pWInfo->wctrlFlags & WHERE_DUPLICATES_OK)==0 ){ int iSet = ((ii==pOrWc->nTerm-1)?-1:ii); if( HasRowid(pTab) ){ - sqlite3ExprCodeGetColumnOfTable(v, pTab, iCur, -1, regRowid); + sqlite3ExprCodeGetColumnOfTable(pParse, pTab, iCur, -1, regRowid); jmp1 = sqlite3VdbeAddOp4Int(v, OP_RowSetTest, regRowset, 0, regRowid, iSet); VdbeCoverage(v); @@ -2086,7 +2086,7 @@ Bitmask sqlite3WhereCodeOneLoopStart( r = sqlite3GetTempRange(pParse, nPk); for(iPk=0; iPk<nPk; iPk++){ int iCol = pPk->aiColumn[iPk]; - sqlite3ExprCodeGetColumnOfTable(v, pTab, iCur, iCol, r+iPk); + sqlite3ExprCodeGetColumnOfTable(pParse, pTab, iCur, iCol,r+iPk); } /* Check if the temp table already contains this key. If so, |