Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove invalid comment

This is not valid anymore after 08477a6
  • Loading branch information...
commit 94b0acc7cd9ee174cc8a380a2ef4797ac1b44eac 1 parent ecf3b00
@rafaelfranca rafaelfranca authored
View
4 activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
@@ -279,10 +279,6 @@ def client_encoding
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
Please sign in to comment.
Something went wrong with that request. Please try again.