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

Error when query returns empty string "" #214

Open
tkooger opened this issue Feb 11, 2018 · 7 comments
Open

Error when query returns empty string "" #214

tkooger opened this issue Feb 11, 2018 · 7 comments

Comments

@tkooger
Copy link

tkooger commented Feb 11, 2018

** (MatchError) no match of right hand side value: ""
(mariaex) lib/mariaex/coder.ex:215: Mariaex.Coder.Utils.length_encoded_string/1
(mariaex) lib/mariaex/messages.ex:198: Mariaex.Messages.decode_column_definition_41/1
(mariaex) lib/mariaex/messages.ex:227: Mariaex.Messages.decode/2
(mariaex) lib/mariaex/protocol.ex:1111: Mariaex.Protocol.msg_decode/2
(mariaex) lib/mariaex/protocol.ex:1079: Mariaex.Protocol.msg_recv/3
(mariaex) lib/mariaex/protocol.ex:635: Mariaex.Protocol.binary_query_more/4
(db_connection) lib/db_connection.ex:966: DBConnection.handle/4
(db_connection) lib/db_connection.ex:1086: DBConnection.describe_run/5

@liveforeverx
Copy link
Member

Is there any reproducing query, which I can use?

@tkooger
Copy link
Author

tkooger commented Feb 12, 2018 via email

@tkooger
Copy link
Author

tkooger commented Feb 12, 2018 via email

@tkooger
Copy link
Author

tkooger commented Feb 12, 2018 via email

@liveforeverx
Copy link
Member

@tkooger

  1. Which version of MySQL / MariaDB do you use?
  2. Could you provide minimal example of a procedure and how you use it for reproducing the issue?

@tkooger
Copy link
Author

tkooger commented Feb 13, 2018 via email

@tkooger
Copy link
Author

tkooger commented Feb 14, 2018 via email

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