We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127ed68 commit 6ac76d9Copy full SHA for 6ac76d9
lib/ecto/adapters/sql/sandbox.ex
@@ -498,7 +498,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
498
process set the ownership mode to `{:shared, _}` and is still alive.
499
"""
500
@spec mode(Ecto.Repo.t() | pid(), :auto | :manual | {:shared, pid()}) ::
501
- :ok | :already_shared | :now_owner | :not_found
+ :ok | :already_shared | :not_owner | :not_found
502
def mode(repo, mode)
503
when (is_atom(repo) or is_pid(repo)) and mode in [:auto, :manual]
504
when (is_atom(repo) or is_pid(repo)) and elem(mode, 0) == :shared and is_pid(elem(mode, 1)) do
0 commit comments