We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e44830 commit 66463ebCopy full SHA for 66463eb
1 file changed
lib/ecto/adapters/sql.ex
@@ -313,7 +313,7 @@ defmodule Ecto.Adapters.SQL do
313
|> Ecto.Multi.run(:rollback, fn _, _ ->
314
{:error, :forced_rollback}
315
end)
316
- |> repo.transaction()
+ |> repo.transaction(opts)
317
|> case do
318
{:error, :rollback, :forced_rollback, %{explain: result}} -> result
319
{:error, :explain, error, _} -> raise error
0 commit comments