Fossil SCM

Document the need for compiling sqlite3.c with -DSQLITE_ENABLE_DBSTAT_VTAB=1.

jan.nijtmans 2015-05-29 07:13 trunk
Commit 74836bc8ae09edd152d8a9afa50cbd3a979c6d47
1 file changed +6 -4
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -224,20 +224,22 @@
224224
225225
Some files require special C-preprocessor macro definitions.
226226
When compiling sqlite.c, the following macros are recommended:
227227
228228
* -DSQLITE_OMIT_LOAD_EXTENSION=1
229
+ * -DSQLITE_ENABLE_DBSTAT_VTAB=1
229230
* -DSQLITE_ENABLE_FTS4=1
230231
* -DSQLITE_ENABLE_LOCKING_STYLE=0
231232
* -DSQLITE_THREADSAFE=0
232233
* -DSQLITE_DEFAULT_FILE_FORMAT=4
233234
* -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
234235
235
-The first two symbol definitions above are required; the others are merely
236
-recommended. Extension loading is omitted as a security measure. FTS4 is
237
-needed for the search feature. Fossil is single-threaded so mutexing is
238
-disabled in SQLite as a performance enhancement. The
236
+The first three symbol definitions above are required; the others are merely
237
+recommended. Extension loading is omitted as a security measure. The dbstat
238
+virtual table is needed for the [/help?cmd=/repo-tabsize|/repo-tabsize] page.
239
+FTS4 is needed for the search feature. Fossil is single-threaded so mutexing
240
+is disabled in SQLite as a performance enhancement. The
239241
SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
240242
in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
241243
242244
When compiling the shell.c source file, these macros are required:
243245
244246
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -224,20 +224,22 @@
224
225 Some files require special C-preprocessor macro definitions.
226 When compiling sqlite.c, the following macros are recommended:
227
228 * -DSQLITE_OMIT_LOAD_EXTENSION=1
 
229 * -DSQLITE_ENABLE_FTS4=1
230 * -DSQLITE_ENABLE_LOCKING_STYLE=0
231 * -DSQLITE_THREADSAFE=0
232 * -DSQLITE_DEFAULT_FILE_FORMAT=4
233 * -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
234
235 The first two symbol definitions above are required; the others are merely
236 recommended. Extension loading is omitted as a security measure. FTS4 is
237 needed for the search feature. Fossil is single-threaded so mutexing is
238 disabled in SQLite as a performance enhancement. The
 
239 SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
240 in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
241
242 When compiling the shell.c source file, these macros are required:
243
244
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -224,20 +224,22 @@
224
225 Some files require special C-preprocessor macro definitions.
226 When compiling sqlite.c, the following macros are recommended:
227
228 * -DSQLITE_OMIT_LOAD_EXTENSION=1
229 * -DSQLITE_ENABLE_DBSTAT_VTAB=1
230 * -DSQLITE_ENABLE_FTS4=1
231 * -DSQLITE_ENABLE_LOCKING_STYLE=0
232 * -DSQLITE_THREADSAFE=0
233 * -DSQLITE_DEFAULT_FILE_FORMAT=4
234 * -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
235
236 The first three symbol definitions above are required; the others are merely
237 recommended. Extension loading is omitted as a security measure. The dbstat
238 virtual table is needed for the [/help?cmd=/repo-tabsize|/repo-tabsize] page.
239 FTS4 is needed for the search feature. Fossil is single-threaded so mutexing
240 is disabled in SQLite as a performance enhancement. The
241 SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
242 in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
243
244 When compiling the shell.c source file, these macros are required:
245
246

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button