Skip to content

Commit 5c0d3c9

Browse files
authored
Merge pull request #41 from kevinsheffield/ping_cases_cover
Handling result return from send_query() in ping()
2 parents 880aa4a + f05979a commit 5c0d3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tds/protocol.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ defmodule Tds.Protocol do
6060

6161
def ping(state) do
6262
case send_query(~s{SELECT 'pong' as [msg]}, state) do
63-
{:ok, s} -> {:ok, s}
63+
{:ok, _, s} -> {:ok, s}
6464
{:error, err, s} -> {:disconnect, err, s}
6565
end
6666
end

0 commit comments

Comments
 (0)