Fossil SCM

Added add_content_sql_commands() to /admin_sql, as per ML discussion.

stephan 2016-03-05 20:01 trunk
Commit 93f514ca2c4532e6eddc372ab8460b3a770ec49b
1 file changed +1
--- src/setup.c
+++ src/setup.c
@@ -1882,10 +1882,11 @@
18821882
login_check_credentials();
18831883
if( !g.perm.Setup ){
18841884
login_needed(0);
18851885
return;
18861886
}
1887
+ add_content_sql_commands(g.db);
18871888
db_begin_transaction();
18881889
style_header("Raw SQL Commands");
18891890
@ <p><b>Caution:</b> There are no restrictions on the SQL that can be
18901891
@ run by this page. You can do serious and irrepairable damage to the
18911892
@ repository. Proceed with extreme caution.</p>
18921893
--- src/setup.c
+++ src/setup.c
@@ -1882,10 +1882,11 @@
1882 login_check_credentials();
1883 if( !g.perm.Setup ){
1884 login_needed(0);
1885 return;
1886 }
 
1887 db_begin_transaction();
1888 style_header("Raw SQL Commands");
1889 @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
1890 @ run by this page. You can do serious and irrepairable damage to the
1891 @ repository. Proceed with extreme caution.</p>
1892
--- src/setup.c
+++ src/setup.c
@@ -1882,10 +1882,11 @@
1882 login_check_credentials();
1883 if( !g.perm.Setup ){
1884 login_needed(0);
1885 return;
1886 }
1887 add_content_sql_commands(g.db);
1888 db_begin_transaction();
1889 style_header("Raw SQL Commands");
1890 @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
1891 @ run by this page. You can do serious and irrepairable damage to the
1892 @ repository. Proceed with extreme caution.</p>
1893

Keyboard Shortcuts

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