summaryrefslogtreecommitdiffstats
path: root/src/test_config.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 17:30:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 17:30:14 +0000
commit30fbe79b8982a0d592ceff1f35038a83807a5e3b (patch)
treeec0680f5cd4232878365ff07b42e860a3da6178b /src/test_config.c
parentAdding debian version 3.45.2-1. (diff)
downloadsqlite3-30fbe79b8982a0d592ceff1f35038a83807a5e3b.tar.xz
sqlite3-30fbe79b8982a0d592ceff1f35038a83807a5e3b.zip
Merging upstream version 3.45.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test_config.c')
-rw-r--r--src/test_config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test_config.c b/src/test_config.c
index ee766a2..76904e5 100644
--- a/src/test_config.c
+++ b/src/test_config.c
@@ -59,6 +59,14 @@ static void set_options(Tcl_Interp *interp){
Tcl_SetVar2(interp, "sqlite_options", "rowid32", "0", TCL_GLOBAL_ONLY);
#endif
+#ifdef SQLITE_ALLOW_ROWID_IN_VIEW
+ Tcl_SetVar2(
+ interp, "sqlite_options", "allow_rowid_in_view", "1", TCL_GLOBAL_ONLY);
+#else
+ Tcl_SetVar2(
+ interp, "sqlite_options", "allow_rowid_in_view", "0", TCL_GLOBAL_ONLY);
+#endif
+
#ifdef SQLITE_CASE_SENSITIVE_LIKE
Tcl_SetVar2(interp, "sqlite_options","casesensitivelike","1",TCL_GLOBAL_ONLY);
#else