aboutsummaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authordrh <>2024-03-19 13:31:54 +0000
committerdrh <>2024-03-19 13:31:54 +0000
commit4b42b5259f151aad0ece49b7132a6bc2e40b262f (patch)
tree82fae5e75de8fe0e4627c5b8d2363095dac00a6d /src/global.c
parent108dd6a52d3679cc3a772600ac22de792f92c897 (diff)
downloadsqlite-4b42b5259f151aad0ece49b7132a6bc2e40b262f.tar.gz
sqlite-4b42b5259f151aad0ece49b7132a6bc2e40b262f.zip
When compiled with SQLITE_ALLOW_ROWID_IN_VIEW, rowid-in-view is on by default
but can now be turned off using SQLITE_TESTCTRL_ROWID_IN_VIEW. Without the compile-time option, rowid-in-view is always off. FossilOrigin-Name: 8a6196ab29052071be753c5c77ac945c2d62ecc8019c6160f954eafe34ab05a8
Diffstat (limited to 'src/global.c')
-rw-r--r--src/global.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/global.c b/src/global.c
index 7f27d91d1..121b3f6d6 100644
--- a/src/global.c
+++ b/src/global.c
@@ -289,6 +289,9 @@ SQLITE_WSD struct Sqlite3Config sqlite3Config = {
#ifndef SQLITE_UNTESTABLE
0, /* xTestCallback */
#endif
+#ifdef SQLITE_ALLOW_ROWID_IN_VIEW
+ 0, /* mNoVisibleRowid. 0 == allow rowid-in-view */
+#endif
0, /* bLocaltimeFault */
0, /* xAltLocaltime */
0x7ffffffe, /* iOnceResetThreshold */