Differences From:
File
src/sync.c
part of check-in
[cf84ce2d8c]
- Fix a typo on the "stat" page.
by
drh on
2008-05-07 23:56:28.
[view]
To:
File
src/sync.c
part of check-in
[9ba6e4287b]
- Add the --nosync option to temporarily disable autosync. Useful when
off network.
by
drh on
2008-05-10 17:09:46.
[view]
@@ -42,8 +42,11 @@
** if the argument is false.
*/
void autosync(int flags){
const char *zUrl;
+ if( g.fNoSync ){
+ return;
+ }
if( db_get_boolean("autosync", 0)==0 ){
return;
}
zUrl = db_get("last-sync-url", 0);