SQLite User Forum

Assertion failure in lockBtree function
Login

Assertion failure in lockBtree function

(1) By Song Liu (songliu) on 2023-06-10 18:26:30 [source]

I found an assertion failure while SQLite (latest, b99135288b157044) executes the following queries.

.open A
PRAGMA page_size=1024;
.clone A/
PRAGMA hard_heap_limit=93000;
CREATE INDEX t ON e(0);
.trace A
CREATE INDEX t ON e(0);

Here are the outputs:

sqlite3: sqlite3.c:72311: lockBtree: Assertion `pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt)' failed.

My compilation commands:

./configure --enable-all --enable-debug
make