253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
|
-
-
+
+
+
|
db_set("ssl-identity", blob_str(&fn), 0);
db_protect_pop();
blob_reset(&fn);
}
db_unprotect(PROTECT_CONFIG);
db_multi_exec(
"REPLACE INTO config(name,value,mtime)"
" VALUES('server-code', lower(hex(randomblob(20))), now());"
"DELETE FROM config WHERE name='project-code';"
" VALUES('server-code', %Q, now());"
"DELETE FROM config WHERE name='project-code';",
fossil_generate_uuid()
);
db_protect_pop();
url_enable_proxy(0);
clone_ssh_db_set_options();
url_get_password_if_needed();
g.xlinkClusterOnly = 1;
nErr = client_sync(syncFlags,CONFIGSET_ALL,0,0,0);
|