aboutsummaryrefslogtreecommitdiff
path: root/src/test_config.c
diff options
context:
space:
mode:
authorshane <shane@noemail.net>2008-07-31 02:05:04 +0000
committershane <shane@noemail.net>2008-07-31 02:05:04 +0000
commit8225f5ac550decffa83b88619b7ca49a3d0df37c (patch)
treea46cc734c469017812bbebc6ad7aacd06630b6b3 /src/test_config.c
parent2a5fc4d6f5ca322362ff965b428c662a7366786f (diff)
downloadsqlite-8225f5ac550decffa83b88619b7ca49a3d0df37c.tar.gz
sqlite-8225f5ac550decffa83b88619b7ca49a3d0df37c.zip
Omit calls to test_get_table_printf() if SQLITE_OMIT_GET_TABLE defined. (CVS 5509)
FossilOrigin-Name: 524a4075ddaecb07469da717e8afebc91240616e
Diffstat (limited to 'src/test_config.c')
-rw-r--r--src/test_config.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test_config.c b/src/test_config.c
index b3007aa3f..fe96b291a 100644
--- a/src/test_config.c
+++ b/src/test_config.c
@@ -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.32 2008/07/25 15:39:04 drh Exp $
+** $Id: test_config.c,v 1.33 2008/07/31 02:05:05 shane Exp $
*/
#include "sqliteLimit.h"
@@ -243,6 +243,12 @@ static void set_options(Tcl_Interp *interp){
Tcl_SetVar2(interp, "sqlite_options", "fts3", "0", TCL_GLOBAL_ONLY);
#endif
+#ifdef SQLITE_OMIT_GET_TABLE
+ Tcl_SetVar2(interp, "sqlite_options", "gettable", "0", TCL_GLOBAL_ONLY);
+#else
+ Tcl_SetVar2(interp, "sqlite_options", "gettable", "1", TCL_GLOBAL_ONLY);
+#endif
+
#ifdef SQLITE_OMIT_GLOBALRECOVER
Tcl_SetVar2(interp, "sqlite_options", "globalrecover", "0", TCL_GLOBAL_ONLY);
#else