We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem with loging is given by method upper.
upper
select user0_.id as id1_23_, user0_.create_time as create_t2_23_, user0_.update_time as update_t3_23_, user0_.email as email4_23_, user0_.last_login as last_log5_23_, user0_.login as login6_23_, user0_.ip as ip7_23_, user0_.steamid as steamid8_23_, user0_.user_agent as user_age9_23_, user0_.password as passwor10_23_ from login user0_ where upper(user0_.login)=upper('norraxx') or upper(user0_.email)=upper('norraxx')
https://github.com/FAForever/faf-java-api/blob/develop/src/main/java/com/faforever/api/user/UserRepository.java#L17
I would say that it could be speedup by CREATE INDEX login_helper_idx ON login (login, email)
CREATE INDEX login_helper_idx ON login (login, email)
The text was updated successfully, but these errors were encountered:
Remove ignore case conversions in database (fixes #335)
4e8ae40
This is no longer required as all columns use CI collation now (see FAForever/db#194)
32a5acb
norraxx
No branches or pull requests
Problem with loging is given by method
upper
.https://github.com/FAForever/faf-java-api/blob/develop/src/main/java/com/faforever/api/user/UserRepository.java#L17
I would say that it could be speedup by
CREATE INDEX login_helper_idx ON login (login, email)
The text was updated successfully, but these errors were encountered: