diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-16 17:30:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-16 17:30:13 +0000 |
commit | 5e33abd9c783fe2b9deae602544f1f6f0889958a (patch) | |
tree | 120f37dcc1339c59c97cd336badef4633015ec23 /src/btree.c | |
parent | Adding upstream version 3.45.2. (diff) | |
download | sqlite3-5e33abd9c783fe2b9deae602544f1f6f0889958a.tar.xz sqlite3-5e33abd9c783fe2b9deae602544f1f6f0889958a.zip |
Adding upstream version 3.45.3.upstream/3.45.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree.c b/src/btree.c index 0fdc680..84a70cc 100644 --- a/src/btree.c +++ b/src/btree.c @@ -9470,7 +9470,7 @@ int sqlite3BtreeInsert( }else if( loc<0 && pPage->nCell>0 ){ assert( pPage->leaf ); idx = ++pCur->ix; - pCur->curFlags &= ~BTCF_ValidNKey; + pCur->curFlags &= ~(BTCF_ValidNKey|BTCF_ValidOvfl); }else{ assert( pPage->leaf ); } @@ -9500,7 +9500,7 @@ int sqlite3BtreeInsert( */ if( pPage->nOverflow ){ assert( rc==SQLITE_OK ); - pCur->curFlags &= ~(BTCF_ValidNKey); + pCur->curFlags &= ~(BTCF_ValidNKey|BTCF_ValidOvfl); rc = balance(pCur); /* Must make sure nOverflow is reset to zero even if the balance() |