add undefined ref to PRIMARY const in AR adapter

This commit is contained in:
Brian Lopez 2010-04-27 22:44:12 -07:00
parent 46020e5ef5
commit 869783107d
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ module ActiveRecord
self.emulate_booleans = true self.emulate_booleans = true
ADAPTER_NAME = 'MySQL'.freeze ADAPTER_NAME = 'MySQL'.freeze
PRIMARY = "PRIMARY".freeze
LOST_CONNECTION_ERROR_MESSAGES = [ LOST_CONNECTION_ERROR_MESSAGES = [
"Server shutdown in progress", "Server shutdown in progress",