Fossil SCM
Drop all database protection when starting the backoffice.
Commit
5d3f71b0f741b12d18df7692355d25356f5680f92834efc4ffc5ce685764d0ab
Parent
49f676e3b3c8c39…
1 file changed
+1
+1
| --- src/backoffice.c | ||
| +++ src/backoffice.c | ||
| @@ -484,10 +484,11 @@ | ||
| 484 | 484 | int lastWarning = 0; |
| 485 | 485 | int warningDelay = 30; |
| 486 | 486 | static int once = 0; |
| 487 | 487 | |
| 488 | 488 | if( sqlite3_db_readonly(g.db, 0) ) return; |
| 489 | + while( db_is_protected(PROTECT_ALL) ) db_protect_pop(); | |
| 489 | 490 | g.zPhase = "backoffice"; |
| 490 | 491 | backoffice_error_check_one(&once); |
| 491 | 492 | idSelf = backofficeProcessId(); |
| 492 | 493 | while(1){ |
| 493 | 494 | tmNow = time(0); |
| 494 | 495 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -484,10 +484,11 @@ | |
| 484 | int lastWarning = 0; |
| 485 | int warningDelay = 30; |
| 486 | static int once = 0; |
| 487 | |
| 488 | if( sqlite3_db_readonly(g.db, 0) ) return; |
| 489 | g.zPhase = "backoffice"; |
| 490 | backoffice_error_check_one(&once); |
| 491 | idSelf = backofficeProcessId(); |
| 492 | while(1){ |
| 493 | tmNow = time(0); |
| 494 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -484,10 +484,11 @@ | |
| 484 | int lastWarning = 0; |
| 485 | int warningDelay = 30; |
| 486 | static int once = 0; |
| 487 | |
| 488 | if( sqlite3_db_readonly(g.db, 0) ) return; |
| 489 | while( db_is_protected(PROTECT_ALL) ) db_protect_pop(); |
| 490 | g.zPhase = "backoffice"; |
| 491 | backoffice_error_check_one(&once); |
| 492 | idSelf = backofficeProcessId(); |
| 493 | while(1){ |
| 494 | tmNow = time(0); |
| 495 |