222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
|
separate object code file and the resulting object code files linked
together in a final step.
Some files require special C-preprocessor macro definitions.
When compiling sqlite.c, the following macros are recommended:
* -DSQLITE_OMIT_LOAD_EXTENSION=1
* -DSQLITE_ENABLE_FTS4=1
* -DSQLITE_ENABLE_LOCKING_STYLE=0
* -DSQLITE_THREADSAFE=0
* -DSQLITE_DEFAULT_FILE_FORMAT=4
* -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
The first two symbol definitions above are required; the others are merely
recommended. Extension loading is omitted as a security measure. FTS4 is
needed for the search feature. Fossil is single-threaded so mutexing is
disabled in SQLite as a performance enhancement. The
SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
When compiling the shell.c source file, these macros are required:
* -Dmain=sqlite3_main
* -DSQLITE_OMIT_LOAD_EXTENSION=1
|
>
|
|
>
|
|
|
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
separate object code file and the resulting object code files linked
together in a final step.
Some files require special C-preprocessor macro definitions.
When compiling sqlite.c, the following macros are recommended:
* -DSQLITE_OMIT_LOAD_EXTENSION=1
* -DSQLITE_ENABLE_DBSTAT_VTAB=1
* -DSQLITE_ENABLE_FTS4=1
* -DSQLITE_ENABLE_LOCKING_STYLE=0
* -DSQLITE_THREADSAFE=0
* -DSQLITE_DEFAULT_FILE_FORMAT=4
* -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1
The first three symbol definitions above are required; the others are merely
recommended. Extension loading is omitted as a security measure. The dbstat
virtual table is needed for the [/help?cmd=/repo-tabsize|/repo-tabsize] page.
FTS4 is needed for the search feature. Fossil is single-threaded so mutexing
is disabled in SQLite as a performance enhancement. The
SQLITE_ENABLE_EXPLAIN_COMMENTS option makes the output of "EXPLAIN" queries
in the "[/help?cmd=sqlite3|fossil sql]" command much more readable.
When compiling the shell.c source file, these macros are required:
* -Dmain=sqlite3_main
* -DSQLITE_OMIT_LOAD_EXTENSION=1
|