diff options
author | drh <> | 2025-07-04 14:24:18 +0000 |
---|---|---|
committer | drh <> | 2025-07-04 14:24:18 +0000 |
commit | 45bc9b9f97aaa8f1839f3583f04de4b56d7ce824 (patch) | |
tree | 6c3151898973a56b9765e6bae81ab84860e86290 /ext | |
parent | 478dfc7e74921f391732e03b486c786d4c7bd49b (diff) | |
parent | e33ea17d24d9afe35b7ced85754e92ac513120e9 (diff) | |
download | sqlite-45bc9b9f97aaa8f1839f3583f04de4b56d7ce824.tar.gz sqlite-45bc9b9f97aaa8f1839f3583f04de4b56d7ce824.zip |
Merge fixes from trunk into the empty-table-optimizations branch
FossilOrigin-Name: 6f98b16d210a9f5b6ca4b4599e3dab3263eddbae7c70ddbcabf988f4a1014e8b
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fts5/fts5_index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fts5/fts5_index.c b/ext/fts5/fts5_index.c index 1c3053386..5a5063748 100644 --- a/ext/fts5/fts5_index.c +++ b/ext/fts5/fts5_index.c @@ -5847,7 +5847,7 @@ static Fts5Structure *fts5IndexOptimizeStruct( } nByte += (((i64)pStruct->nLevel)+1) * sizeof(Fts5StructureLevel); - assert( nByte==SZ_FTS5STRUCTURE(pStruct->nLevel+2) ); + assert( nByte==(i64)SZ_FTS5STRUCTURE(pStruct->nLevel+2) ); pNew = (Fts5Structure*)sqlite3Fts5MallocZero(&p->rc, nByte); if( pNew ){ |