1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix an uninitialized variable problem in the test code added by the previous commit.

FossilOrigin-Name: 7849662ef94fa48fe53177db5623f46b3cb401e8
This commit is contained in:
dan
2015-10-26 16:34:13 +00:00
parent 6b513640c0
commit 433d5aaed1
3 changed files with 8 additions and 10 deletions

View File

@@ -632,9 +632,7 @@ static int btree_insert(
pCur = (BtCursor*)sqlite3TestTextToPtr(Tcl_GetString(objv[1]));
sqlite3BtreeEnter(pCur->pBtree);
if( rc==SQLITE_OK ){
rc = sqlite3BtreeInsert(pCur, pKey, nKey, pData, nData, 0, 0, 0);
}
rc = sqlite3BtreeInsert(pCur, pKey, nKey, pData, nData, 0, 0, 0);
sqlite3BtreeLeave(pCur->pBtree);
Tcl_ResetResult(interp);