aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vacuum.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vacuum.c b/src/vacuum.c
index 49624360e..53a274d63 100644
--- a/src/vacuum.c
+++ b/src/vacuum.c
@@ -14,7 +14,7 @@
** Most of the code in this file may be omitted by defining the
** SQLITE_OMIT_VACUUM macro.
**
-** $Id: vacuum.c,v 1.11 2004/02/12 13:02:56 drh Exp $
+** $Id: vacuum.c,v 1.12 2004/02/25 02:33:35 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -314,8 +314,7 @@ end_of_vacuum:
sqliteFree(sVac.s1.z);
sqliteFree(sVac.s2.z);
if( zErrMsg ) sqlite_freemem(zErrMsg);
- if( rc==SQLITE_ABORT ) rc = SQLITE_ERROR;
- if( sVac.rc!=SQLITE_OK ) rc = sVac.rc;
+ if( rc==SQLITE_ABORT ) sVac.rc = SQLITE_ERROR;
return sVac.rc;
#endif
}