Skip to content

Commit 0684d6a

Browse files
fix timeout
1 parent 4eb1cd0 commit 0684d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto/adapters/myxql.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ defmodule Ecto.Adapters.MyXQL do
562562
port_opts = port_opts(cmd_opts, args: args)
563563
port = Port.open({:spawn_executable, cmd}, port_opts)
564564
Port.command(port, contents)
565-
Port.command(port, :eof)
565+
Port.close(port)
566566

567567
{initial, fun} = Collectable.into("")
568568

0 commit comments

Comments
 (0)