Searching for conflicting DB names fails on non ASCII chars

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • ALL
    • CAR Team 2026-01-05
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      When opening a DB using `DatabaseHolderImpl::openDb`, a search is made to see if an existing database exists where the name only differs in case. If so an exception will be thrown.

      To find such existing DBs, the function `DatabaseHolderImpl::DBsIndex::getAnyConflictingName` is used. This function uses a primitive comparison function that compare the "tolower" value of each char. This cannot work for multi byte UTF-8 chars.
      So if you have a db named "foo", you are not allowed to create a db named "Foo". But if you have a db named "æbler", you can perfectly well create one named "Æbler".

            Assignee:
            Yujin Kang Park
            Reporter:
            Jørgen Edelbo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: