set adapter name
This commit is contained in:
parent
4866ae0aa3
commit
12d4d8a0b8
|
@ -45,6 +45,11 @@ module ActiveRecord
|
||||||
|
|
||||||
class Mysql2Adapter < MysqlAdapter
|
class Mysql2Adapter < MysqlAdapter
|
||||||
PRIMARY = "PRIMARY".freeze
|
PRIMARY = "PRIMARY".freeze
|
||||||
|
ADAPTER_NAME = "Mysql2".freeze
|
||||||
|
|
||||||
|
def adapter_name
|
||||||
|
ADAPTER_NAME
|
||||||
|
end
|
||||||
|
|
||||||
# QUOTING ==================================================
|
# QUOTING ==================================================
|
||||||
def quote_string(string)
|
def quote_string(string)
|
||||||
|
|
Loading…
Reference in New Issue