Skip to content

Commit

Permalink
Remove invalid comment
Browse files Browse the repository at this point in the history
This is not valid anymore after 08477a6
  • Loading branch information
rafaelfranca committed Sep 11, 2013
1 parent ecf3b00 commit 94b0acc
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -279,10 +279,6 @@ def client_encoding
end end


def exec_query(sql, name = 'SQL', binds = []) 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) if without_prepared_statement?(binds)
result_set, affected_rows = exec_without_stmt(sql, name) result_set, affected_rows = exec_without_stmt(sql, name)
else else
Expand Down

0 comments on commit 94b0acc

Please sign in to comment.