Check-in [93f514ca2c]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added add_content_sql_commands() to /admin_sql, as per ML discussion.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 93f514ca2c4532e6eddc372ab8460b3a770ec49b
User & Date: stephan 2016-03-05 20:01:35.953
Context
2016-03-08
19:37
Cleanup, modularize, and robustify all test setup and cleanup. check-in: fa59221693 user: mistachkin tags: trunk
2016-03-06
06:38
Merge updates from trunk. check-in: ccf01b243f user: mistachkin tags: stash-fixes
06:35
Merge updates from trunk. Closed-Leaf check-in: ff4a4fe6b2 user: mistachkin tags: pending-review
06:35
Merge updates from trunk. Closed-Leaf check-in: 4bd2b54592 user: mistachkin tags: pending-review
06:34
Merge updates from trunk. Closed-Leaf check-in: 370c003d15 user: mistachkin tags: baruch_timeline_fixes
06:28
Merge updates from trunk. Closed-Leaf check-in: 45ed23d946 user: mistachkin tags: altBaseUrlRepoDir
06:26
Merge updates from trunk. check-in: abd131b83c user: mistachkin tags: mvHardDirFix
2016-03-05
20:01
Added add_content_sql_commands() to /admin_sql, as per ML discussion. check-in: 93f514ca2c user: stephan tags: trunk
2016-03-02
02:10
Permit the TH1 hooks subsystem to check for the configuration without raising a 'fatal' error. check-in: b06cd631f1 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/setup.c.
1880
1881
1882
1883
1884
1885
1886

1887
1888
1889
1890
1891
1892
1893
  const char *zQ = P("q");
  int go = P("go")!=0;
  login_check_credentials();
  if( !g.perm.Setup ){
    login_needed(0);
    return;
  }

  db_begin_transaction();
  style_header("Raw SQL Commands");
  @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
  @ run by this page.  You can do serious and irrepairable damage to the
  @ repository.  Proceed with extreme caution.</p>
  @
  @ <p>Only the first statement in the entry box will be run.







>







1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
  const char *zQ = P("q");
  int go = P("go")!=0;
  login_check_credentials();
  if( !g.perm.Setup ){
    login_needed(0);
    return;
  }
  add_content_sql_commands(g.db);
  db_begin_transaction();
  style_header("Raw SQL Commands");
  @ <p><b>Caution:</b> There are no restrictions on the SQL that can be
  @ run by this page.  You can do serious and irrepairable damage to the
  @ repository.  Proceed with extreme caution.</p>
  @
  @ <p>Only the first statement in the entry box will be run.