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

Escape '@' on MySQL #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Escape '@' on MySQL #257

wants to merge 1 commit into from

Conversation

wiedi
Copy link

@wiedi wiedi commented Jul 29, 2019

The '@' character needs escaping in the MySQL backend since @distance was introduced.

Reference: https://dev.mysql.com/doc/refman/5.7/en/fulltext-boolean.html

@etianen
Copy link
Owner

etianen commented Jul 30, 2019

The build seems to be failing. It looks like flake8 have updated their default ruleset, but also that unit tests are now failing. Could you address these issues please?

@wiedi
Copy link
Author

wiedi commented Jul 30, 2019

The test fails because a search for 'abcd@efgh' will now actually search for 'abcd efgh'.

I'll see if I can fix this by improving the escape function to handle this better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants