From 446429d01e0e51092debc6fe10ebc4626304ef6a Mon Sep 17 00:00:00 2001 From: Kevin Deisz Date: Fri, 3 Feb 2017 17:35:54 -0500 Subject: [PATCH] More clear comments --- lib/odbc_adapter/adapters/mysql_odbc_adapter.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/odbc_adapter/adapters/mysql_odbc_adapter.rb b/lib/odbc_adapter/adapters/mysql_odbc_adapter.rb index 3b6eb109..0358c348 100644 --- a/lib/odbc_adapter/adapters/mysql_odbc_adapter.rb +++ b/lib/odbc_adapter/adapters/mysql_odbc_adapter.rb @@ -1,7 +1,7 @@ module ODBCAdapter module Adapters # Overrides specific to MySQL. Mostly taken from - # ActiveRecord::ConnectionAdapters::MySQLAdapter + # ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter class MySQLODBCAdapter < ActiveRecord::ConnectionAdapters::ODBCAdapter PRIMARY_KEY = 'INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY'.freeze @@ -31,7 +31,6 @@ def limited_update_conditions(where_sql, _quoted_table_name, _quoted_primary_key where_sql end - # Taken from ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter def join_to_update(update, select) #:nodoc: if select.limit || select.offset || select.orders.any? subsubselect = select.clone