Fossil

Check-in [e2ff0cc248]
Login

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

Overview
Comment:Minor correction to the previous check-in, use db_optional_sql() where appropriate.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | caseInsensitiveAllLists
Files: files | file ages | folders
SHA1: e2ff0cc2482243dc924a7685e91227b06864dd6f
User & Date: mistachkin 2014-09-12 21:15:15.465
Context
2014-09-13
16:10
Automatically remove "all" entries that differ only in case on case-insensitive filesystems. check-in: c6079d148e user: drh tags: trunk
2014-09-12
21:15
Minor correction to the previous check-in, use db_optional_sql() where appropriate. Closed-Leaf check-in: e2ff0cc248 user: mistachkin tags: caseInsensitiveAllLists
21:12
Fix duplicate entries in the 'all' repository and checkout lists on file systems that are not case-sensitive (e.g. Windows). check-in: 6c8c638225 user: mistachkin tags: caseInsensitiveAllLists
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
    );
    db_multi_exec(
      "REPLACE INTO global_config(name, value)"
      "VALUES('%s','%q');",
      zCkoutSetting, blob_str(&full)
    );
    db_swap_connections();
    db_multi_exec(
       "DELETE FROM config WHERE name %s = '%s';",
       zCollation, zCkoutSetting
    );
    db_optional_sql("repository",
        "REPLACE INTO config(name,value,mtime)"
        "VALUES('%s',1,now());",
        zCkoutSetting
    );
    fossil_free(zCkoutSetting);







|
|
|







2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
    );
    db_multi_exec(
      "REPLACE INTO global_config(name, value)"
      "VALUES('%s','%q');",
      zCkoutSetting, blob_str(&full)
    );
    db_swap_connections();
    db_optional_sql("repository",
        "DELETE FROM config WHERE name %s = '%s';",
        zCollation, zCkoutSetting
    );
    db_optional_sql("repository",
        "REPLACE INTO config(name,value,mtime)"
        "VALUES('%s',1,now());",
        zCkoutSetting
    );
    fossil_free(zCkoutSetting);