Skip to content

Commit 6a44689

Browse files
committed
quote prefixed tables using iodata not an interpreted string
1 parent d45d282 commit 6a44689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto/adapters/sqlite3/connection.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ defmodule Ecto.Adapters.SQLite3.Connection do
19461946
defp quote_table(nil, name), do: quote_entity(name)
19471947

19481948
defp quote_table(prefix, name) when is_atom(prefix) or is_binary(prefix) do
1949-
"#{prefix}.#{name}"
1949+
[prefix, ?., name]
19501950
end
19511951

19521952
defp quote_table(_, name), do: quote_entity(name)

0 commit comments

Comments
 (0)