We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0ffcf commit 4c4012dCopy full SHA for 4c4012d
1 file changed
lib/ecto/adapters/myxql.ex
@@ -589,10 +589,8 @@ defmodule Ecto.Adapters.MyXQL do
589
]
590
591
port = Port.open({:spawn_executable, abs_cmd}, port_opts)
592
-
593
- port ! {self(), {:command, contents}}
594
- port ! {self(), {:command, ";SELECT '__ECTO_EOF__';\n"}}
595
+ send(port, {self(), {:command, contents}})
+ send(port, {self(), {:command, ";SELECT '__ECTO_EOF__';\n"}})
596
collect_output(port, "")
597
end
598
0 commit comments