We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16cdfed commit 732fb60Copy full SHA for 732fb60
lib/ecto/adapters/myxql.ex
@@ -561,8 +561,9 @@ defmodule Ecto.Adapters.MyXQL do
561
562
port_opts = port_opts(cmd_opts, args: args)
563
port = Port.open({:spawn_executable, cmd}, port_opts)
564
- Port.command(port, contents)
565
- Port.command(port, "\n")
+ IO.inspect port
+ IO.inspect Port.command(port, contents)
566
+ IO.inspect Port.command(port, "\n")
567
568
{initial, fun} = Collectable.into("")
569
@@ -611,9 +612,8 @@ defmodule Ecto.Adapters.MyXQL do
611
612
{^port, {:exit_status, status}} ->
613
{acc, status}
614
- {^port, other} ->
615
- IO.inspect other
616
- {acc, other}
+ after
+ 1000 -> IO.puts("No messages")
617
end
618
619
0 commit comments