diff --git a/lib/active_record/connection_adapters/mysql2_adapter.rb b/lib/active_record/connection_adapters/mysql2_adapter.rb index cdc63d7..6e2784d 100644 --- a/lib/active_record/connection_adapters/mysql2_adapter.rb +++ b/lib/active_record/connection_adapters/mysql2_adapter.rb @@ -45,6 +45,11 @@ module ActiveRecord class Mysql2Adapter < MysqlAdapter PRIMARY = "PRIMARY".freeze + ADAPTER_NAME = "Mysql2".freeze + + def adapter_name + ADAPTER_NAME + end # QUOTING ================================================== def quote_string(string)