All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308)

FossilOrigin-Name: 8a49311d2f50cf2ca24776cabcb8ec7418325cb1
This commit is contained in:
drh
2006-06-27 12:51:12 +00:00
parent 169f8a0c7a
commit ff91c45404
8 changed files with 64 additions and 29 deletions
+7 -1
View File
@@ -13,7 +13,7 @@
** is not included in the SQLite library. It is used for automated
** testing of the SQLite library.
**
** $Id: test1.c,v 1.213 2006/06/27 07:34:40 danielk1977 Exp $
** $Id: test1.c,v 1.214 2006/06/27 12:51:13 drh Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -3457,6 +3457,12 @@ static void set_options(Tcl_Interp *interp){
Tcl_SetVar2(interp, "sqlite_options", "integrityck", "1", TCL_GLOBAL_ONLY);
#endif
#if defined(SQLITE_DEFAULT_FILE_FORMAT) && SQLITE_DEFAULT_FILE_FORMAT==1
Tcl_SetVar2(interp, "sqlite_options", "legacyformat", "1", TCL_GLOBAL_ONLY);
#else
Tcl_SetVar2(interp, "sqlite_options", "legacyformat", "0", TCL_GLOBAL_ONLY);
#endif
#ifdef SQLITE_OMIT_LIKE_OPTIMIZATION
Tcl_SetVar2(interp, "sqlite_options", "like_opt", "0", TCL_GLOBAL_ONLY);
#else