diff options
author | Damon McCormick + Cameron Walters <github+dm+cw@squareup.com> | 2011-05-10 16:41:05 -0700 |
---|---|---|
committer | Damon McCormick + Cameron Walters <github+dm+cw@squareup.com> | 2011-05-10 16:41:05 -0700 |
commit | 73ca3932d3669f7a6f9bb722a6abaedb75f66929 (patch) | |
tree | 649112f51d651204c71983fe2097363325016a91 /.autotest | |
parent | a3d9c393b4707a03734dcf6831fb9636fabac045 (diff) | |
download | rails-73ca3932d3669f7a6f9bb722a6abaedb75f66929.tar.gz rails-73ca3932d3669f7a6f9bb722a6abaedb75f66929.tar.bz2 rails-73ca3932d3669f7a6f9bb722a6abaedb75f66929.zip |
Make ToSql more thread safe.
Because the ToSql visitor instance is shared across all threads, there is a
race condition around column types for binary nodes. It's possible, for instance,
to end up with ActiveRecord converting a string value in the final SQL to an
integer during heavy concurrent operations.
Diffstat (limited to '.autotest')
0 files changed, 0 insertions, 0 deletions