jruby/activerecord-jdbc-adapter — pull request #136 by gfmurphy (2011-11-26 04:30:47+00:00)
Title: query cache fix

There was a side effect in the jdbc adapter's substitute_binds method that was causing several of the query cache tests to fail in the rails 3.1 stable test suite.

This patch dups the *binds* parameter before the binding substitution is performed, which prevents the side effect. The 3.1 stable rails tests for query_cache now pass for the jdbc-sqlite3 and jdbc-mysql drivers.

George