Skip to content

Commit 7c0ffcf

Browse files
fixes
1 parent 2bdd35a commit 7c0ffcf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/ecto/adapters/myxql.ex

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

591591
port = Port.open({:spawn_executable, abs_cmd}, port_opts)
592+
592593
port ! {self(), {:command, contents}}
593594
port ! {self(), {:command, ";SELECT '__ECTO_EOF__';\n"}}
594-
result = collect_output(port, "")
595-
Process.flag(:trap_exit, old_trap_exit)
596-
result
595+
596+
collect_output(port, "")
597597
end
598598

599599
defp args_env(opts, opt_args) do

0 commit comments

Comments
 (0)