Fossil SCM
Added add_content_sql_commands() to /admin_sql, as per ML discussion.
Commit
93f514ca2c4532e6eddc372ab8460b3a770ec49b
Parent
b06cd631f180430…
1 file changed
+1
+1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1882,10 +1882,11 @@ | ||
| 1882 | 1882 | login_check_credentials(); |
| 1883 | 1883 | if( !g.perm.Setup ){ |
| 1884 | 1884 | login_needed(0); |
| 1885 | 1885 | return; |
| 1886 | 1886 | } |
| 1887 | + add_content_sql_commands(g.db); | |
| 1887 | 1888 | db_begin_transaction(); |
| 1888 | 1889 | style_header("Raw SQL Commands"); |
| 1889 | 1890 | @ <p><b>Caution:</b> There are no restrictions on the SQL that can be |
| 1890 | 1891 | @ run by this page. You can do serious and irrepairable damage to the |
| 1891 | 1892 | @ repository. Proceed with extreme caution.</p> |
| 1892 | 1893 |
| --- 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 |