set adapter name

This commit is contained in:
Brian Lopez 2010-04-15 12:23:37 -07:00
parent 4866ae0aa3
commit 12d4d8a0b8
1 changed files with 5 additions and 0 deletions

View File

@ -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)