diff options
author | drh <> | 2023-10-06 12:55:53 +0000 |
---|---|---|
committer | drh <> | 2023-10-06 12:55:53 +0000 |
commit | 00eee7a786bf165e10de253fe3da19d1057f4aad (patch) | |
tree | e2e16da4313b78bd68e324878e2b54d16a97a9ad /src | |
parent | 1935887a68e8b54369852fb62abeb8268b82886e (diff) | |
download | sqlite-00eee7a786bf165e10de253fe3da19d1057f4aad.tar.gz sqlite-00eee7a786bf165e10de253fe3da19d1057f4aad.zip |
Remove an unused parameter from the recomputeColumnsNotIndexed() routine in
order to squash a harmless compiler warning.
FossilOrigin-Name: 9bf4bfd68080367b58594e0d44b110b3ee9766420f648537fd7bc638dacefb72
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build.c b/src/build.c index 3e011c625..59e3e23f0 100644 --- a/src/build.c +++ b/src/build.c @@ -2302,7 +2302,7 @@ static int isDupColumn(Index *pIdx, int nKey, Index *pPk, int iCol){ ** The colNotIdxed mask is AND-ed with the SrcList.a[].colUsed mask ** to determine if the index is covering index. */ -static void recomputeColumnsNotIndexed(Parse *pParse, Index *pIdx){ +static void recomputeColumnsNotIndexed(Index *pIdx){ Bitmask m = 0; int j; Table *pTab = pIdx->pTable; @@ -2493,7 +2493,7 @@ static void convertToWithoutRowidTable(Parse *pParse, Table *pTab){ } assert( pPk->nColumn==j ); assert( pTab->nNVCol<=j ); - recomputeColumnsNotIndexed(pParse, pPk); + recomputeColumnsNotIndexed(pPk); } @@ -4273,7 +4273,7 @@ void sqlite3CreateIndex( ** it as a covering index */ assert( HasRowid(pTab) || pTab->iPKey<0 || sqlite3TableColumnToIndex(pIndex, pTab->iPKey)>=0 ); - recomputeColumnsNotIndexed(pParse, pIndex); + recomputeColumnsNotIndexed(pIndex); if( pTblName!=0 && pIndex->nColumn>=pTab->nCol ){ pIndex->isCovering = 1; for(j=0; j<pTab->nCol; j++){ |