Fix an uninitialized variable in sqlite3VdbeIdxRowid().

FossilOrigin-Name: 6e787e18fa87f5463bf62cd91a0c0855099693f0
This commit is contained in:
drh
2009-08-25 13:10:27 +00:00
parent fd3ca1c680
commit ff104c17b7
3 changed files with 11 additions and 13 deletions
+1 -3
View File
@@ -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;