Differences From:
File
src/db.c
part of check-in
[00ac7945a9]
- Disconnect the global configuration database in ~/.fossil from the
respository database in most cases. This allows multiple "sync" or
"commit" operations to be running on different repositories at the same time.
by
drh on
2009-08-13 14:27:24.
[view]
To:
File
src/db.c
part of check-in
[74f7f6e6ad]
- Fix faulty SQL in the "db_unset()" routine.
Ticket 31bd22c31fcc
by
drh on
2009-08-15 16:50:36.
[view]
@@ -1228,12 +1228,12 @@
void db_unset(const char *zName, int globalFlag){
db_begin_transaction();
if( globalFlag ){
db_swap_connections();
- db_multi_exec("DELETE INTO global_config WHERE name=%Q", zName);
+ db_multi_exec("DELETE FROM global_config WHERE name=%Q", zName);
db_swap_connections();
}else{
- db_multi_exec("DELETE INTO config WHERE name=%Q", zName);
+ db_multi_exec("DELETE FROM config WHERE name=%Q", zName);
}
if( globalFlag && g.repositoryOpen ){
db_multi_exec("DELETE FROM config WHERE name=%Q", zName);
}