Skip to content

Commit 79ac922

Browse files
committed
Don't check if DBConnection is loaded.
1 parent 20a1f35 commit 79ac922

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/ecto/adapters/sql/sandbox.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
341341

342342
defmodule Connection do
343343
@moduledoc false
344-
if Code.ensure_loaded?(DBConnection) do
345-
@behaviour DBConnection
346-
end
344+
@behaviour DBConnection
347345

348346
def connect(_opts) do
349347
raise "should never be invoked"

0 commit comments

Comments
 (0)