aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-11 20:44:13 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-11 20:48:57 -0300
commitbbbef23e1f7ece2eebe860d687931b8998b1a926 (patch)
tree3a74d3a70680854b3a387b73c8dec9be6a122621 /activerecord
parentf13b278568a1d629dd4d90b16ed87b715c4e689d (diff)
downloadrails-bbbef23e1f7ece2eebe860d687931b8998b1a926.tar.gz
rails-bbbef23e1f7ece2eebe860d687931b8998b1a926.tar.bz2
rails-bbbef23e1f7ece2eebe860d687931b8998b1a926.zip
Remove invalid comment
This is not valid anymore after 08477a651648ba4417ded128aa37b9ae0dcbc9ce
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/mysql_adapter.rb4
1 files changed, 0 insertions, 4 deletions
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