• S
    Fix test failures when prepared statements are disabled · 846832ae
    Sean Griffin 提交于
    This also reverts the change to enable prepared statements by default on
    MySQL (though I suspect we could enable them and it'd be great). This
    change brings back a collector closer to the old `Bind` collector in
    Arel. However, this one lives in AR, since this is an AR specific need.
    Additionally, we only use it for statement caching, since the new
    substitute collector in Arel is higher performance for most cases.
    846832ae
database_statements.rb 16.9 KB