diff --git a/lib/myxql/result.ex b/lib/myxql/result.ex index 6135f89..d34b3a7 100644 --- a/lib/myxql/result.ex +++ b/lib/myxql/result.ex @@ -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) """