Skip to content

Commit b541c12

Browse files
test
1 parent ecf52dd commit b541c12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/ecto/adapters/myxql.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ defmodule Ecto.Adapters.MyXQL do
594594
Port.command(port, contents)
595595
# Use this as a signal to close the port since we cannot
596596
# send an exit command to mysql in batch mode
597-
Process.sleep(10000)
598597
Port.command(port, ";SELECT '__ECTO_EOF__';\n")
599598
collect_output(port, "")
600599
end
@@ -660,7 +659,7 @@ defmodule Ecto.Adapters.MyXQL do
660659
{acc, 1}
661660

662661
{^port, {:exit_status, status}} ->
663-
{acc, status}
662+
collect_output(port, acc)
664663
end
665664
end
666665
end

0 commit comments

Comments
 (0)