提交 4b1bca04 编写于 作者: S Steve Jorgensen

Stop being silly with formatting of method aliasing.

上级 6d5f4de4
......@@ -99,8 +99,8 @@ def query_fake(*args)
end
end
alias query_unfake query
alias query query_fake
alias query_unfake query
alias query query_fake
CODE
begin
......@@ -108,7 +108,7 @@ def query_fake(*args)
new_connection_pid = @connection.query('select pg_backend_pid()')
ensure
connection_class.class_eval <<-CODE
alias query query_unfake
alias query query_unfake
undef query_fake
CODE
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册