Skip to content

Commit

Permalink
mysql tests are passing again
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Apr 9, 2014
1 parent d073fc3 commit 8522365
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8522365

Please sign in to comment.