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

Mariaex crashes when it can't encode a parameter #17

Closed
josevalim opened this issue Feb 17, 2015 · 0 comments
Closed

Mariaex crashes when it can't encode a parameter #17

josevalim opened this issue Feb 17, 2015 · 0 comments
Assignees

Comments

@josevalim
Copy link
Contributor

Here is a test case:

  test "encoding bad parameters", context do
    query("SELECT 1", [:badparam])
  end

I have tried fixing this but, since parameters are only encoded later, we need a way to abort the current query and tell the client an error occurred. I am aware this mechanism exists for Postgrex so we can look there for inspiration.

@liveforeverx liveforeverx self-assigned this Feb 17, 2015
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

2 participants