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

Fix some test script details so that the test suite runs with an SQLITE_DEFAULT_AUTOVACUUM=2 build. (CVS 5686)

FossilOrigin-Name: 300a64b725a111ee66e38de099314f03b064c6eb
This commit is contained in:
danielk1977
2008-09-10 10:57:27 +00:00
parent f2fb044bca
commit f8b10a855e
5 changed files with 17 additions and 16 deletions

View File

@@ -16,7 +16,7 @@
** The focus of this file is providing the TCL testing layer
** access to compile-time constants.
**
** $Id: test_config.c,v 1.35 2008/09/04 17:17:39 danielk1977 Exp $
** $Id: test_config.c,v 1.36 2008/09/10 10:57:28 danielk1977 Exp $
*/
#include "sqliteLimit.h"
@@ -130,10 +130,11 @@ static void set_options(Tcl_Interp *interp){
#else
Tcl_SetVar2(interp, "sqlite_options", "autovacuum", "1", TCL_GLOBAL_ONLY);
#endif /* SQLITE_OMIT_AUTOVACUUM */
#if !defined(SQLITE_DEFAULT_AUTOVACUUM) || SQLITE_DEFAULT_AUTOVACUUM==0
#if !defined(SQLITE_DEFAULT_AUTOVACUUM)
Tcl_SetVar2(interp,"sqlite_options","default_autovacuum","0",TCL_GLOBAL_ONLY);
#else
Tcl_SetVar2(interp,"sqlite_options","default_autovacuum","1",TCL_GLOBAL_ONLY);
Tcl_SetVar2(interp, "sqlite_options", "default_autovacuum",
STRINGVALUE(SQLITE_DEFAULT_AUTOVACUUM), TCL_GLOBAL_ONLY);
#endif
#ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION