Skip to content

単語が登録されているかの判定がcase insensitiveになってる #110

Description

@oribe1115

testしか登録していなくても、TESTも登録済み単語として判定されてしまう

これはMariaDBでのVARCHARの比較処理において、デフォルトの挙動がcase insensitiveでの判定になっているから
Character Set and Collation Overview - MariaDB Knowledge Base

テーブル定義においてcollationを明示的に変更する、または検索クエリにBINARYをつけることで解消できそう
MySQL :: MySQL 5.7 Reference Manual :: B.3.4.1 Case Sensitivity in String Searches

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserver

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions