Fossil SCM
Fix an unterminated transaction in the /admin_th1 page.
Commit
447d273214bfdaf32cd63ebd522524f9015a680da553afd65a3f7103488bdab0
Parent
96938c42a6ecb4e…
1 file changed
-1
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1363,11 +1363,10 @@ | ||
| 1363 | 1363 | login_check_credentials(); |
| 1364 | 1364 | if( !g.perm.Setup ){ |
| 1365 | 1365 | login_needed(0); |
| 1366 | 1366 | return; |
| 1367 | 1367 | } |
| 1368 | - db_begin_transaction(); | |
| 1369 | 1368 | style_header("Raw TH1 Commands"); |
| 1370 | 1369 | @ <p><b>Caution:</b> There are no restrictions on the TH1 that can be |
| 1371 | 1370 | @ run by this page. If Tcl integration was enabled at compile-time and |
| 1372 | 1371 | @ the "tcl" setting is enabled, Tcl commands may be run as well.</p> |
| 1373 | 1372 | @ |
| 1374 | 1373 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1363,11 +1363,10 @@ | |
| 1363 | login_check_credentials(); |
| 1364 | if( !g.perm.Setup ){ |
| 1365 | login_needed(0); |
| 1366 | return; |
| 1367 | } |
| 1368 | db_begin_transaction(); |
| 1369 | style_header("Raw TH1 Commands"); |
| 1370 | @ <p><b>Caution:</b> There are no restrictions on the TH1 that can be |
| 1371 | @ run by this page. If Tcl integration was enabled at compile-time and |
| 1372 | @ the "tcl" setting is enabled, Tcl commands may be run as well.</p> |
| 1373 | @ |
| 1374 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1363,11 +1363,10 @@ | |
| 1363 | login_check_credentials(); |
| 1364 | if( !g.perm.Setup ){ |
| 1365 | login_needed(0); |
| 1366 | return; |
| 1367 | } |
| 1368 | style_header("Raw TH1 Commands"); |
| 1369 | @ <p><b>Caution:</b> There are no restrictions on the TH1 that can be |
| 1370 | @ run by this page. If Tcl integration was enabled at compile-time and |
| 1371 | @ the "tcl" setting is enabled, Tcl commands may be run as well.</p> |
| 1372 | @ |
| 1373 |