mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix an uninitialized variable introduced by check-in (1202). (CVS 1235)
FossilOrigin-Name: 9f149fdc1c6af1c663b91c878ed1903f82f80245
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
** in this file for details. If in doubt, do not deviate from existing
|
||||
** commenting and indentation practices when changing or adding code.
|
||||
**
|
||||
** $Id: vdbe.c,v 1.260 2004/02/12 13:02:56 drh Exp $
|
||||
** $Id: vdbe.c,v 1.261 2004/02/13 14:07:13 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "os.h"
|
||||
@@ -2970,6 +2970,12 @@ case OP_PutStrKey: {
|
||||
pC->nextRowidValid = 0;
|
||||
}
|
||||
}
|
||||
if( pTos->flags & MEM_Null ){
|
||||
pTos->z = 0;
|
||||
pTos->n = 0;
|
||||
}else{
|
||||
assert( pTos->flags & MEM_Str );
|
||||
}
|
||||
if( pC->pseudoTable ){
|
||||
/* PutStrKey does not work for pseudo-tables.
|
||||
** The following assert makes sure we are not trying to use
|
||||
|
Reference in New Issue
Block a user