From bbbef23e1f7ece2eebe860d687931b8998b1a926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 11 Sep 2013 20:44:13 -0300 Subject: Remove invalid comment This is not valid anymore after 08477a651648ba4417ded128aa37b9ae0dcbc9ce --- activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index c65ec5559f..41a47183e0 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -279,10 +279,6 @@ module ActiveRecord end def exec_query(sql, name = 'SQL', binds = []) - # If the configuration sets prepared_statements:false, binds will - # always be empty, since the bind variables will have been already - # substituted and removed from binds by BindVisitor, so this will - # effectively disable prepared statement usage completely. if without_prepared_statement?(binds) result_set, affected_rows = exec_without_stmt(sql, name) else -- cgit v1.2.3