提交 f5f38548 编写于 作者: M Minglei Jin

fix(tdb/pcache): typo pCache->nPages as pCache->nPage

上级 f570d61d
...@@ -129,7 +129,7 @@ static int tdbPCacheAlterImpl(SPCache *pCache, int32_t nPage) { ...@@ -129,7 +129,7 @@ static int tdbPCacheAlterImpl(SPCache *pCache, int32_t nPage) {
pCache->nFree++; 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]; aPage[iPage] = pCache->aPage[iPage];
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册