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

Disable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is

not enabled. (CVS 4325)

FossilOrigin-Name: 4874499377e8f89a25d8cc2cf7982e6811d53f1b
This commit is contained in:
drh
2007-08-29 17:59:42 +00:00
parent ff0587c632
commit d6b9386c50
4 changed files with 21 additions and 11 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.12 2007/08/22 20:18:22 drh Exp $
** $Id: test_config.c,v 1.13 2007/08/29 17:59:42 drh Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -77,6 +77,12 @@ static void set_options(Tcl_Interp *interp){
Tcl_SetVar2(interp, "sqlite_options", "analyze", "1", TCL_GLOBAL_ONLY);
#endif
#ifdef SQLITE_ENABLE_ATOMIC_WRITE
Tcl_SetVar2(interp, "sqlite_options", "atomicwrite", "1", TCL_GLOBAL_ONLY);
#else
Tcl_SetVar2(interp, "sqlite_options", "atomicwrite", "0", TCL_GLOBAL_ONLY);
#endif
#ifdef SQLITE_OMIT_ATTACH
Tcl_SetVar2(interp, "sqlite_options", "attach", "0", TCL_GLOBAL_ONLY);
#else