Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oribe1115 opened this issue Jun 30, 2023 · 0 comments
Labels
bug Something isn't working server

Comments

@oribe1115
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server
Projects
None yet
Development

No branches or pull requests

1 participant