Skip to content

Commit

Permalink
show warnings needs text protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Rychlewski authored and Greg Rychlewski committed Feb 19, 2024
1 parent 52047ad commit cf75c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/myxql/result.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule MyXQL.Result do
If `result.num_warnings` is non-zero it means there were warnings and they can be
retrieved by making another query:
MyXQL.query!(conn, "SHOW WARNINGS")
MyXQL.query!(conn, "SHOW WARNINGS", [], query_type: :text)
"""

Expand Down

0 comments on commit cf75c76

Please sign in to comment.