Fossil SCM
If applicable, use the OPEN_ANY_SCHEMA flag in Th_FossilInit.
Commit
3c1ad1def951372a07d1aeaaab2ba1c2ae9545d8
Parent
b058c8a944f96c9…
1 file changed
+1
-1
+1
-1
| --- src/th_main.c | ||
| +++ src/th_main.c | ||
| @@ -567,11 +567,11 @@ | ||
| 567 | 567 | ** This function uses several settings which may be defined in the |
| 568 | 568 | ** repository and/or the global configuration. Since the caller |
| 569 | 569 | ** passed a non-zero value for the needConfig parameter, make sure |
| 570 | 570 | ** the necessary database connections are open prior to continuing. |
| 571 | 571 | */ |
| 572 | - db_find_and_open_repository(OPEN_OK_NOT_FOUND, 0); | |
| 572 | + db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0); | |
| 573 | 573 | db_open_config(0); |
| 574 | 574 | } |
| 575 | 575 | if( g.interp==0 ){ |
| 576 | 576 | int i; |
| 577 | 577 | g.interp = Th_CreateInterp(&vtab); |
| 578 | 578 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -567,11 +567,11 @@ | |
| 567 | ** This function uses several settings which may be defined in the |
| 568 | ** repository and/or the global configuration. Since the caller |
| 569 | ** passed a non-zero value for the needConfig parameter, make sure |
| 570 | ** the necessary database connections are open prior to continuing. |
| 571 | */ |
| 572 | db_find_and_open_repository(OPEN_OK_NOT_FOUND, 0); |
| 573 | db_open_config(0); |
| 574 | } |
| 575 | if( g.interp==0 ){ |
| 576 | int i; |
| 577 | g.interp = Th_CreateInterp(&vtab); |
| 578 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -567,11 +567,11 @@ | |
| 567 | ** This function uses several settings which may be defined in the |
| 568 | ** repository and/or the global configuration. Since the caller |
| 569 | ** passed a non-zero value for the needConfig parameter, make sure |
| 570 | ** the necessary database connections are open prior to continuing. |
| 571 | */ |
| 572 | db_find_and_open_repository(OPEN_ANY_SCHEMA | OPEN_OK_NOT_FOUND, 0); |
| 573 | db_open_config(0); |
| 574 | } |
| 575 | if( g.interp==0 ){ |
| 576 | int i; |
| 577 | g.interp = Th_CreateInterp(&vtab); |
| 578 |