diff options
author | drh <> | 2023-10-06 13:05:42 +0000 |
---|---|---|
committer | drh <> | 2023-10-06 13:05:42 +0000 |
commit | 91f3cd987456997941c88ea67f7a45ac9c7f52d2 (patch) | |
tree | b419d89d72cceb7ef340e2d116fb18309a02aca3 /src/build.c | |
parent | dd7f09e6c00315eff7930a8c13d4e8d659c541a9 (diff) | |
parent | 00eee7a786bf165e10de253fe3da19d1057f4aad (diff) | |
download | sqlite-91f3cd987456997941c88ea67f7a45ac9c7f52d2.tar.gz sqlite-91f3cd987456997941c88ea67f7a45ac9c7f52d2.zip |
Merge compiler warning fixes from trunk into the jsonb branch.
FossilOrigin-Name: 6409d307915f8969f12df2d5ffa961645bd4db7ccfbd6f52237a217b6a867252
Diffstat (limited to 'src/build.c')
-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++){ |