diff options
author | drh <drh@noemail.net> | 2007-05-12 12:08:51 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-05-12 12:08:51 +0000 |
commit | cf1be45fe2697dba9a8f9075ab78e354337923a0 (patch) | |
tree | fa30187a38c520942957f1c12a681da7f87bf13e /src/vdbe.c | |
parent | 39c9604a02179779d34591305d2cfc0a0a91c5d3 (diff) | |
download | sqlite-cf1be45fe2697dba9a8f9075ab78e354337923a0.tar.gz sqlite-cf1be45fe2697dba9a8f9075ab78e354337923a0.zip |
Make the ANALYZE command robust in the face of malloc() failures. (CVS 3989)
FossilOrigin-Name: c08658e1f8598941ebddddb98942b98cfcb86e7a
Diffstat (limited to 'src/vdbe.c')
-rw-r--r-- | src/vdbe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index 3171a10f1..68279dbba 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -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.617 2007/05/11 10:10:33 danielk1977 Exp $ +** $Id: vdbe.c,v 1.618 2007/05/12 12:08:51 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -4196,7 +4196,7 @@ case OP_ParseSchema: { /* no-push */ case OP_LoadAnalysis: { /* no-push */ int iDb = pOp->p1; assert( iDb>=0 && iDb<db->nDb ); - sqlite3AnalysisLoad(db, iDb); + rc = sqlite3AnalysisLoad(db, iDb); break; } #endif /* !defined(SQLITE_OMIT_ANALYZE) && !defined(SQLITE_OMIT_PARSER) */ |