Fossil SCM

Fix an unterminated transaction in the /admin_th1 page.

drh 2018-08-31 20:24 trunk
Commit 447d273214bfdaf32cd63ebd522524f9015a680da553afd65a3f7103488bdab0
1 file changed -1
--- src/setup.c
+++ src/setup.c
@@ -1363,11 +1363,10 @@
13631363
login_check_credentials();
13641364
if( !g.perm.Setup ){
13651365
login_needed(0);
13661366
return;
13671367
}
1368
- db_begin_transaction();
13691368
style_header("Raw TH1 Commands");
13701369
@ <p><b>Caution:</b> There are no restrictions on the TH1 that can be
13711370
@ run by this page. If Tcl integration was enabled at compile-time and
13721371
@ the "tcl" setting is enabled, Tcl commands may be run as well.</p>
13731372
@
13741373
--- 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

Keyboard Shortcuts

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