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

Syntax error may be happen #132

Open
kou opened this issue Mar 7, 2024 · 0 comments
Open

Syntax error may be happen #132

kou opened this issue Mar 7, 2024 · 0 comments

Comments

@kou
Copy link
Member

kou commented Mar 7, 2024

We specify QUERY_NO_SYNTAX_ERROR but syntax error may be happen.

"query_flags" => "ALLOW_COLUMN|ALLOW_LEADING_NOT|QUERY_NO_SYNTAX_ERROR",

Because mroonga_query_expand()/pgroonga_query_expand() don't use the flag.

"mroonga_query_expand(?, ?, ?, ?) AS query",

"pgroonga_query_expand(?, ?, ?, ?)",

We should specify QUERY_NO_SYNTAX_ERROR flag for mroonga_query_expand()/pgroonga_query_expand() too.

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

No branches or pull requests

1 participant