Fossil

Check-in [4eb637fd]
Login

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

Overview
Comment:Make the --admin-user for the "init" command also be the login user. Ticket [1038e224fa3956]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4eb637fd2524239ec9a79ab33cb7851bdd4c6b73
User & Date: drh 2012-11-27 13:15:02
Context
2012-11-27
13:21
Add zlib sources to the tree in the compat/zlib subdirectory and use them to build Fossil on windows systems that lack a zlib library. check-in: 7ef7284d user: drh tags: trunk
13:15
Make the --admin-user for the "init" command also be the login user. Ticket [1038e224fa3956] check-in: 4eb637fd user: drh tags: trunk
11:10
Suggested fix for [1038e224fa] Closed-Leaf check-in: 9f3622b2 user: jan.nijtmans tags: ticket-1038e224fa
09:42
blob_to_utf8_no_bom(): the starts_with_utf16(le|be)_bom calls were swapped. check-in: d27cddf1 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/db.c.

1311
1312
1313
1314
1315
1316
1317

1318
1319
1320
1321
1322
1323
1324
      "INSERT INTO config(name,value,mtime)"
      " VALUES('project-code', lower(hex(randomblob(20))),now());"
    );
  }
  if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0);
  if( !db_is_global("localauth") ) db_set_int("localauth", 0, 0);
  db_create_default_users(0, zDefaultUser);

  user_select();

  if( zTemplate ){
    /*
    ** Copy all settings from the supplied template repository.
    */
    db_multi_exec(







>







1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
      "INSERT INTO config(name,value,mtime)"
      " VALUES('project-code', lower(hex(randomblob(20))),now());"
    );
  }
  if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0);
  if( !db_is_global("localauth") ) db_set_int("localauth", 0, 0);
  db_create_default_users(0, zDefaultUser);
  if( zDefaultUser ) g.zLogin = zDefaultUser;
  user_select();

  if( zTemplate ){
    /*
    ** Copy all settings from the supplied template repository.
    */
    db_multi_exec(