From 869783107de7c71cd57e12aefd8934599ec63155 Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Tue, 27 Apr 2010 22:44:12 -0700 Subject: [PATCH] add undefined ref to PRIMARY const in AR adapter --- lib/active_record/connection_adapters/mysql2_adapter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/active_record/connection_adapters/mysql2_adapter.rb b/lib/active_record/connection_adapters/mysql2_adapter.rb index 9728aa0..ac1b175 100644 --- a/lib/active_record/connection_adapters/mysql2_adapter.rb +++ b/lib/active_record/connection_adapters/mysql2_adapter.rb @@ -107,6 +107,7 @@ module ActiveRecord self.emulate_booleans = true ADAPTER_NAME = 'MySQL'.freeze + PRIMARY = "PRIMARY".freeze LOST_CONNECTION_ERROR_MESSAGES = [ "Server shutdown in progress",