diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-27 23:41:29 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-11 20:48:50 -0300 |
commit | f13b278568a1d629dd4d90b16ed87b715c4e689d (patch) | |
tree | b97b8d904a17559b952216296a1d28756e303f63 /activerecord/lib/active_record/tasks | |
parent | 3d60e9d5503b5f657336a8b7ee6345552ddb6c83 (diff) | |
download | rails-f13b278568a1d629dd4d90b16ed87b715c4e689d.tar.gz rails-f13b278568a1d629dd4d90b16ed87b715c4e689d.tar.bz2 rails-f13b278568a1d629dd4d90b16ed87b715c4e689d.zip |
Check if the SQL is not a prepared statement
When the adapter is with prepared statement disabled and the binds array
is not empty the connection adapter will try to set the binds values and
will fail. Now we are checking if the adapter has the prepared statement
disabled.
Fixes #12023
Diffstat (limited to 'activerecord/lib/active_record/tasks')
0 files changed, 0 insertions, 0 deletions