We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bdd35a commit 7c0ffcfCopy full SHA for 7c0ffcf
1 file changed
lib/ecto/adapters/myxql.ex
@@ -589,11 +589,11 @@ 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"}}
- result = collect_output(port, "")
595
- Process.flag(:trap_exit, old_trap_exit)
596
- result
+ collect_output(port, "")
597
end
598
599
defp args_env(opts, opt_args) do
0 commit comments