From cf75c765d623362fe66d33e1b8c3d2f831ada4c7 Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Mon, 19 Feb 2024 08:34:26 -0500 Subject: [PATCH] show warnings needs text protocol --- lib/myxql/result.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) """