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

Add new testcase() macros and fix a bug that was revealed when trying to

cover all the new test cases.

FossilOrigin-Name: 266a99f7c068aadbd08157d1d495a428109ad7a32d872f8026e8db0f89c40f91
This commit is contained in:
drh
2018-04-18 01:34:39 +00:00
parent 54514c9813
commit 9916048b89
8 changed files with 59 additions and 21 deletions

View File

@@ -346,6 +346,7 @@ static int lookupName(
cnt++;
#ifndef SQLITE_OMIT_UPSERT
if( pExpr->iTable==2 ){
testcase( iCol==(-1) );
pExpr->iTable = pNC->uNC.pUpsert->regData + iCol;
eNewExprOp = TK_REGISTER;
}else