提交 41dfc467 编写于 作者: A Aaron Patterson

Merge pull request #2621 from icco/master

Issue with schema dump
......@@ -40,7 +40,7 @@ def initialize(connection)
def header(stream)
define_params = @version ? ":version => #{@version}" : ""
if stream.respond_to?(:external_encoding)
if stream.respond_to?(:external_encoding) && stream.external_encoding
stream.puts "# encoding: #{stream.external_encoding.name}"
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册