Clear the BTCF_ValidNKey flag set if a cursor is moved by

sqlite3BtreeInsert(). Fix for [f68dc596c4].

FossilOrigin-Name: a6727eef6d757a39ad23e5c8cbe960f5d909e5d37cb4e90bc3bdbb8bf58cd6f8
This commit is contained in:
dan
2017-05-01 18:12:56 +00:00
parent 7555581fc1
commit 874080bbb6
4 changed files with 68 additions and 53 deletions
+1
View File
@@ -8190,6 +8190,7 @@ int sqlite3BtreeInsert(
}else if( loc<0 && pPage->nCell>0 ){
assert( pPage->leaf );
idx = ++pCur->ix;
pCur->curFlags &= ~BTCF_ValidNKey;
}else{
assert( pPage->leaf );
}