mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Update a comment in btree.c to account for WITHOUT ROWID tables. No code
changes. FossilOrigin-Name: fa20dcb03b92be3bb32f8e3d6f88681ace3f6c84
This commit is contained in:
@@ -7572,9 +7572,9 @@ static int balance_nonroot(
|
||||
** any cell). But it is important to pass the correct size to
|
||||
** insertCell(), so reparse the cell now.
|
||||
**
|
||||
** Note that this can never happen in an SQLite data file, as all
|
||||
** cells are at least 4 bytes. It only happens in b-trees used
|
||||
** to evaluate "IN (SELECT ...)" and similar clauses.
|
||||
** This can only happen for b-trees used to evaluate "IN (SELECT ...)"
|
||||
** and WITHOUT ROWID tables with exactly one column which is the
|
||||
** primary key.
|
||||
*/
|
||||
if( b.szCell[j]==4 ){
|
||||
assert(leafCorrection==4);
|
||||
|
Reference in New Issue
Block a user