Skip to content

Commit 4c4012d

Browse files
fixes
1 parent 7c0ffcf commit 4c4012d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/ecto/adapters/myxql.ex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,10 +589,8 @@ defmodule Ecto.Adapters.MyXQL do
589589
]
590590

591591
port = Port.open({:spawn_executable, abs_cmd}, port_opts)
592-
593-
port ! {self(), {:command, contents}}
594-
port ! {self(), {:command, ";SELECT '__ECTO_EOF__';\n"}}
595-
592+
send(port, {self(), {:command, contents}})
593+
send(port, {self(), {:command, ";SELECT '__ECTO_EOF__';\n"}})
596594
collect_output(port, "")
597595
end
598596

0 commit comments

Comments
 (0)