diff options
author | drh <drh@noemail.net> | 2018-05-07 11:37:34 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-05-07 11:37:34 +0000 |
commit | e2188f0b0f16292391b72e081a71b29263c8f15b (patch) | |
tree | a1ae60dee08d4d7dde1fd0eba6674f237934ac67 /src/wherecode.c | |
parent | 60208c34bb9de22efd746480ab45d6c2620e394a (diff) | |
download | sqlite-e2188f0b0f16292391b72e081a71b29263c8f15b.tar.gz sqlite-e2188f0b0f16292391b72e081a71b29263c8f15b.zip |
Fix harmless compiler warnings associated with the new EXPLAIN QUERY PLAN logic.
FossilOrigin-Name: 374d8e264487b0437a8d995ced1bc026a92d495a2d0568f65f033e9ebe11d0e2
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index df45bd73e..9a0227a87 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -122,8 +122,6 @@ int sqlite3WhereExplainOneScan( Parse *pParse, /* Parse context */ SrcList *pTabList, /* Table list this loop refers to */ WhereLevel *pLevel, /* Scan to write OP_Explain opcode for */ - int iLevel, /* Value for "level" column of output */ - int iFrom, /* Value for "from" column of output */ u16 wctrlFlags /* Flags passed to sqlite3WhereBegin() */ ){ int ret = 0; @@ -1956,7 +1954,7 @@ Bitmask sqlite3WhereCodeOneLoopStart( if( pSubWInfo ){ WhereLoop *pSubLoop; int addrExplain = sqlite3WhereExplainOneScan( - pParse, pOrTab, &pSubWInfo->a[0], iLevel, pLevel->iFrom, 0 + pParse, pOrTab, &pSubWInfo->a[0], 0 ); sqlite3WhereAddScanStatus(v, pOrTab, &pSubWInfo->a[0], addrExplain); |