Fossil SCM

If applicable, use the OPEN_ANY_SCHEMA flag in Th_FossilInit.

mistachkin 2012-11-20 08:21 trunk
Commit 3c1ad1def951372a07d1aeaaab2ba1c2ae9545d8
1 file changed +1 -1
+1 -1
--- src/th_main.c
+++ src/th_main.c
@@ -567,11 +567,11 @@
567567
** This function uses several settings which may be defined in the
568568
** repository and/or the global configuration. Since the caller
569569
** passed a non-zero value for the needConfig parameter, make sure
570570
** the necessary database connections are open prior to continuing.
571571
*/
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);
573573
db_open_config(0);
574574
}
575575
if( g.interp==0 ){
576576
int i;
577577
g.interp = Th_CreateInterp(&vtab);
578578
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button