Fix an uninitialized variable in sqlite3VdbeIdxRowid().
FossilOrigin-Name: 6e787e18fa87f5463bf62cd91a0c0855099693f0
This commit is contained in:
+1
-3
@@ -2613,9 +2613,7 @@ int sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid){
|
||||
assert( (nCellKey & SQLITE_MAX_U32)==(u64)nCellKey );
|
||||
|
||||
/* Read in the complete content of the index entry */
|
||||
m.flags = 0;
|
||||
m.db = db;
|
||||
m.zMalloc = 0;
|
||||
memset(&m, 0, sizeof(m));
|
||||
rc = sqlite3VdbeMemFromBtree(pCur, 0, (int)nCellKey, 1, &m);
|
||||
if( rc ){
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user