Fossil SCM
Do not run TH1 hooks on the "fossil sql" command.
Commit
d493544369a6901038e8304528ac5e95c1f19629
Parent
eea86cee3aa49fa…
1 file changed
+1
+1
| --- src/sqlcmd.c | ||
| +++ src/sqlcmd.c | ||
| @@ -212,10 +212,11 @@ | ||
| 212 | 212 | */ |
| 213 | 213 | void cmd_sqlite3(void){ |
| 214 | 214 | int noRepository; |
| 215 | 215 | const char *zConfigDb; |
| 216 | 216 | extern int sqlite3_shell(int, char**); |
| 217 | + g.fNoThHook = 1; | |
| 217 | 218 | noRepository = find_option("no-repository", 0, 0)!=0; |
| 218 | 219 | if( !noRepository ){ |
| 219 | 220 | db_find_and_open_repository(OPEN_ANY_SCHEMA, 0); |
| 220 | 221 | } |
| 221 | 222 | db_open_config(1,0); |
| 222 | 223 |
| --- src/sqlcmd.c | |
| +++ src/sqlcmd.c | |
| @@ -212,10 +212,11 @@ | |
| 212 | */ |
| 213 | void cmd_sqlite3(void){ |
| 214 | int noRepository; |
| 215 | const char *zConfigDb; |
| 216 | extern int sqlite3_shell(int, char**); |
| 217 | noRepository = find_option("no-repository", 0, 0)!=0; |
| 218 | if( !noRepository ){ |
| 219 | db_find_and_open_repository(OPEN_ANY_SCHEMA, 0); |
| 220 | } |
| 221 | db_open_config(1,0); |
| 222 |
| --- src/sqlcmd.c | |
| +++ src/sqlcmd.c | |
| @@ -212,10 +212,11 @@ | |
| 212 | */ |
| 213 | void cmd_sqlite3(void){ |
| 214 | int noRepository; |
| 215 | const char *zConfigDb; |
| 216 | extern int sqlite3_shell(int, char**); |
| 217 | g.fNoThHook = 1; |
| 218 | noRepository = find_option("no-repository", 0, 0)!=0; |
| 219 | if( !noRepository ){ |
| 220 | db_find_and_open_repository(OPEN_ANY_SCHEMA, 0); |
| 221 | } |
| 222 | db_open_config(1,0); |
| 223 |