1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Coverage tests for vacuum.c (CVS 1776)

FossilOrigin-Name: 152e9940b919a53fcd0da4091dbf75ab8ef15b38
This commit is contained in:
danielk1977
2004-06-30 09:49:22 +00:00
parent bc6ada4103
commit 96fb0dd55a
11 changed files with 109 additions and 35 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.242 2004/06/29 13:18:24 danielk1977 Exp $
** $Id: main.c,v 1.243 2004/06/30 09:49:24 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -963,6 +963,10 @@ int sqlite3_prepare(
char *zErrMsg = 0;
int rc = SQLITE_OK;
if( sqlite3_malloc_failed ){
return SQLITE_NOMEM;
}
assert( ppStmt );
*ppStmt = 0;
if( sqlite3SafetyOn(db) ){