Fossil SCM

Remove an db_begin_transaction() that had no matching db_end_transaction().

drh 2018-08-15 15:53 trunk
Commit b2fca3dd4dc8e15b4dafb68b896f814322ac7c75989889cadbaae5de2880a6d9
1 file changed -1
--- src/setup.c
+++ src/setup.c
@@ -1950,11 +1950,10 @@
19501950
if( !g.perm.Setup ){
19511951
login_needed(0);
19521952
return;
19531953
}
19541954
add_content_sql_commands(g.db);
1955
- db_begin_transaction();
19561955
zQ = cgi_csrf_safe(1) ? P("q") : 0;
19571956
style_header("Raw SQL Commands");
19581957
@ <p><b>Caution:</b> There are no restrictions on the SQL that can be
19591958
@ run by this page. You can do serious and irrepairable damage to the
19601959
@ repository. Proceed with extreme caution.</p>
19611960
--- src/setup.c
+++ src/setup.c
@@ -1950,11 +1950,10 @@
1950 if( !g.perm.Setup ){
1951 login_needed(0);
1952 return;
1953 }
1954 add_content_sql_commands(g.db);
1955 db_begin_transaction();
1956 zQ = cgi_csrf_safe(1) ? P("q") : 0;
1957 style_header("Raw SQL Commands");
1958 @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
1959 @ run by this page. You can do serious and irrepairable damage to the
1960 @ repository. Proceed with extreme caution.</p>
1961
--- src/setup.c
+++ src/setup.c
@@ -1950,11 +1950,10 @@
1950 if( !g.perm.Setup ){
1951 login_needed(0);
1952 return;
1953 }
1954 add_content_sql_commands(g.db);
 
1955 zQ = cgi_csrf_safe(1) ? P("q") : 0;
1956 style_header("Raw SQL Commands");
1957 @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
1958 @ run by this page. You can do serious and irrepairable damage to the
1959 @ repository. Proceed with extreme caution.</p>
1960

Keyboard Shortcuts

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