提交 d097ee97 编写于 作者: R Ryuta Kamizono

Revert "Merge pull request #19881 from sikachu/silence-mysql-errno-warning"

This reverts commit 55d9e494, reversing
changes made to 03e987cd.

Legacy mysql adapter is already removed in #22642.
上级 e7a9f9de
......@@ -23,9 +23,7 @@ def setup
@connection.execute "SELECT count(*) from products"
@connection.disconnect!
assert_raises(ActiveRecord::ConnectionNotEstablished) do
silence_warnings do
@connection.execute "SELECT count(*) from products"
end
@connection.execute "SELECT count(*) from products"
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册