Fossil

Check-in [93f514ca]
Login

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

Overview
Comment:Added add_content_sql_commands() to /admin_sql, as per ML discussion.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:93f514ca2c4532e6eddc372ab8460b3a770ec49b
User & Date: stephan 2016-03-05 20:01:35
Context
2016-03-08
19:37
Cleanup, modularize, and robustify all test setup and cleanup. check-in: fa592216 user: mistachkin tags: trunk
2016-03-06
06:38
Merge updates from trunk. check-in: ccf01b24 user: mistachkin tags: stash-fixes
06:35
Merge updates from trunk. Leaf check-in: ff4a4fe6 user: mistachkin tags: pending-review
06:35
Merge updates from trunk. Closed-Leaf check-in: 4bd2b545 user: mistachkin tags: pending-review
06:34
Merge updates from trunk. Closed-Leaf check-in: 370c003d user: mistachkin tags: baruch_timeline_fixes
06:28
Merge updates from trunk. Closed-Leaf check-in: 45ed23d9 user: mistachkin tags: altBaseUrlRepoDir
06:26
Merge updates from trunk. check-in: abd131b8 user: mistachkin tags: mvHardDirFix
2016-03-05
20:01
Added add_content_sql_commands() to /admin_sql, as per ML discussion. check-in: 93f514ca 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: b06cd631 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/setup.c.

  1880   1880     const char *zQ = P("q");
  1881   1881     int go = P("go")!=0;
  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     @
  1893   1894     @ <p>Only the first statement in the entry box will be run.