提交 7d93d91a 编写于 作者: J Jon Leighton

Remove valid_type? method

It was supposed to be removed by the preceding two reversions but I did
them in the wrong order.
上级 0c145448
......@@ -326,10 +326,6 @@ def translate_exception(exception, message)
# override in derived class
ActiveRecord::StatementInvalid.new(message)
end
def valid_types?(type)
true
end
end
end
end
......@@ -747,10 +747,6 @@ def configure_connection
# ...and send them all in one query
execute("SET #{encoding} #{variable_assignments}", :skip_logging)
end
def valid_type?(type)
!native_database_types[type].nil?
end
end
end
end
......@@ -887,10 +887,6 @@ def extract_table_ref_from_insert_sql(sql)
def table_definition
TableDefinition.new(self)
end
def valid_type?(type)
!native_database_types[type].nil?
end
end
end
end
......@@ -602,11 +602,6 @@ def translate_exception(exception, message)
super
end
end
def valid_type?(type)
true
end
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册