Merge pull request #18442 from taosdata/fix/TD-20643-alter-larger

fix(tdb/pcache): type nPages as nPage
This commit is contained in:
Shengliang Guan 2022-11-25 12:19:19 +08:00 committed by GitHub
commit 6150b6ede7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ static int tdbPCacheAlterImpl(SPCache *pCache, int32_t nPage) {
pCache->nFree++;
}
for (int32_t iPage = 0; iPage < pCache->nPage; iPage++) {
for (int32_t iPage = 0; iPage < pCache->nPages; iPage++) {
aPage[iPage] = pCache->aPage[iPage];
}