206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
When compiling sqlite.c, the following macros are recommended:
* -Dlocaltime=fossil_localtime
* -DSQLITE_OMIT_LOAD_EXTENSION=1
* -DSQLITE_ENABLE_LOCKING_STYLE=0
* -DSQLITE_THREADSAFE=0
* -DSQLITE_DEFAULT_FILE_FORMAT=4
* -DSQLITE_ENABLE_STAT2
The first and second symbol definitions above are required; the others
are merely recommended. The "localtime()" library function in SQLite must
be redefined to invoke fossil_localtime() instead. The fossil_localtime()
routine will invoke either gmtime() or localtime() depending on the
"Use UTC" setting for the fossil repository. Extension loading is omitted
as a security measure. Fossil is single-threaded so mutexing is disabled
|
|
|
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
When compiling sqlite.c, the following macros are recommended:
* -Dlocaltime=fossil_localtime
* -DSQLITE_OMIT_LOAD_EXTENSION=1
* -DSQLITE_ENABLE_LOCKING_STYLE=0
* -DSQLITE_THREADSAFE=0
* -DSQLITE_DEFAULT_FILE_FORMAT=4
* -DSQLITE_ENABLE_STAT3
The first and second symbol definitions above are required; the others
are merely recommended. The "localtime()" library function in SQLite must
be redefined to invoke fossil_localtime() instead. The fossil_localtime()
routine will invoke either gmtime() or localtime() depending on the
"Use UTC" setting for the fossil repository. Extension loading is omitted
as a security measure. Fossil is single-threaded so mutexing is disabled
|