提交 97ca6358 编写于 作者: A Aaron Patterson

Join method uses empty string by default, so remove it

上级 b96aaf8c
......@@ -389,11 +389,11 @@ def structure_dump #:nodoc:
sql = "SHOW TABLES"
end
select_all(sql).map do |table|
select_all(sql).map { |table|
table.delete('Table_type')
sql = "SHOW CREATE TABLE #{quote_table_name(table.to_a.first.last)}"
exec_without_stmt(sql).first['Create Table'] + ";\n\n"
end.join("")
}.join
end
# Drops the database specified on the +name+ attribute
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册