1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove a branch that is probably unreachable, and which adds no value.

FossilOrigin-Name: 9acc72381ccd5e36f3ffdf7e7fbefc5a15701eb4
This commit is contained in:
drh
2017-01-12 19:10:55 +00:00
parent ae051a8970
commit 7b20a15d13
3 changed files with 8 additions and 8 deletions

View File

@@ -8124,7 +8124,7 @@ int sqlite3BtreeInsert(
pCur->eState = CURSOR_INVALID;
if( (flags & BTREE_SAVEPOSITION) && rc==SQLITE_OK ){
rc = moveToRoot(pCur);
if( pCur->pKeyInfo && rc==SQLITE_OK ){
if( pCur->pKeyInfo ){
assert( pCur->pKey==0 );
pCur->pKey = sqlite3Malloc( pX->nKey );
if( pCur->pKey==0 ){