Fossil

Check-in [9f3622b22a]
Login

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

Overview
Comment:Suggested fix for [1038e224fa]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | ticket-1038e224fa
Files: files | file ages | folders
SHA1: 9f3622b22a654f51deb73ec85b4257a948582edd
User & Date: jan.nijtmans 2012-11-27 11:10:47.022
Context
2012-11-27
13:15
Make the --admin-user for the "init" command also be the login user. Ticket [1038e224fa3956] check-in: 4eb637fd25 user: drh tags: trunk
11:10
Suggested fix for [1038e224fa] Closed-Leaf check-in: 9f3622b22a 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: d27cddf17c user: jan.nijtmans tags: trunk
Changes
Unified Diff 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
1326
1327
      "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(