提交 44c7ebf5 编写于 作者: Y Yves Senn

Merge pull request #17473 from vipulnsward/rm-unused-method

Remove unused duplicated method `add_column_position` from AbstractMysqlAdapter.
...@@ -585,14 +585,6 @@ def type_to_sql(type, limit = nil, precision = nil, scale = nil) ...@@ -585,14 +585,6 @@ def type_to_sql(type, limit = nil, precision = nil, scale = nil)
end end
end end
def add_column_position!(sql, options)
if options[:first]
sql << " FIRST"
elsif options[:after]
sql << " AFTER #{quote_column_name(options[:after])}"
end
end
# SHOW VARIABLES LIKE 'name' # SHOW VARIABLES LIKE 'name'
def show_variable(name) def show_variable(name)
variables = select_all("SHOW VARIABLES LIKE '#{name}'", 'SCHEMA') variables = select_all("SHOW VARIABLES LIKE '#{name}'", 'SCHEMA')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册