Fossil

Check-in [42b97c2296]
Login

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

Overview
Comment:Restore special handling of the database name from [17885b90c8] in filenames_are_case_sensitive() as it may be needed in some cases.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | dbRecordRepoFix
Files: files | file ages | folders
SHA1: 42b97c229664fefe9538fa99be3c4621b8a29d44
User & Date: mistachkin 2014-09-15 01:54:09.434
Context
2014-09-15
02:32
For the 3-argument version of the 'info' command, open the repository prior to recording it. ... (check-in: b98681739d user: mistachkin tags: dbRecordRepoFix)
01:54
Restore special handling of the database name from [17885b90c8] in filenames_are_case_sensitive() as it may be needed in some cases. ... (check-in: 42b97c2296 user: mistachkin tags: dbRecordRepoFix)
2014-09-14
21:05
Disallow "fossil set" and "fossil unset" on an ambiguous prefix. ... (check-in: 3b990b5203 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/add.c.
443
444
445
446
447
448
449
450
451

452
453
454
455
456
457
458
#else
      caseSensitive = 1;  /* Unix */
#endif
      caseSensitive = db_get_boolean("case-sensitive",caseSensitive);
    }
    if( !caseSensitive && g.localOpen ){
      db_multi_exec(
         "CREATE INDEX IF NOT EXISTS vfile_nocase"
         "  ON vfile(pathname COLLATE nocase)"

      );
    }
  }
  return caseSensitive;
}

/*







|
|
>







443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
#else
      caseSensitive = 1;  /* Unix */
#endif
      caseSensitive = db_get_boolean("case-sensitive",caseSensitive);
    }
    if( !caseSensitive && g.localOpen ){
      db_multi_exec(
         "CREATE INDEX IF NOT EXISTS %s.vfile_nocase"
         "  ON vfile(pathname COLLATE nocase)",
         db_name("localdb")
      );
    }
  }
  return caseSensitive;
}

/*