Differences From Artifact [857e9ca869]:
- File src/allrepo.c — part of check-in [16ec693dae] at 2020-08-18 02:26:36 on branch sec2020 — Fix missing enable of global_config in the "fossil all" command. (user: drh size: 15495)
To Artifact [3fd96fc97f]:
- File src/allrepo.c — part of check-in [b9ae03f6ee] at 2020-08-21 01:09:23 on branch sec2020 — Add a missing db_unprotect() to the "fossil all" command. (user: drh size: 15559) [more...]
| ︙ | |||
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 | 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | + + |
blob_append_sql(&sql,
"DELETE FROM global_config WHERE name GLOB '%s:%q'",
useCheckouts?"ckout":"repo", blob_str(&fn)
);
if( dryRunFlag ){
fossil_print("%s\n", blob_sql_text(&sql));
}else{
db_unprotect(PROTECT_CONFIG);
db_multi_exec("%s", blob_sql_text(&sql));
db_protect_pop();
}
}
db_end_transaction(0);
blob_reset(&sql);
blob_reset(&fn);
blob_reset(&extra);
return;
|
| ︙ |