Skip to content
Browse files

mysql tests are passing again

  • Loading branch information...
1 parent d073fc3 commit 85223653ebcfa1f9bd05126160c3c1676527e83c @tenderlove tenderlove committed Apr 9, 2014
Showing with 7 additions and 1 deletion.
  1. +7 −1 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
View
8 activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -204,9 +204,15 @@ def compile(bvs, conn)
end
end
+ class SQLString < Arel::Collectors::SQLString
+ def compile(bvs, conn)
+ super(bvs)
+ end
+ end
+
def collector
if @prepared_statements
- Arel::Collectors::SQLString.new
+ SQLString.new
else
BindCollector.new
end

0 comments on commit 8522365

Please sign in to comment.
Something went wrong with that request. Please try again.