aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/mysql/schema_creation.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-07-06 08:28:06 +0930
committerMatthew Draper <matthew@trebex.net>2016-07-06 08:28:06 +0930
commit76ce08a493fbd9f8c38d719f4c329bc2153204fc (patch)
tree1e04e58828bba3247eba15523efa6aab54fa0dbf /activerecord/lib/active_record/connection_adapters/mysql/schema_creation.rb
parent08a907461341486e371774dd69c43852657c0f4f (diff)
downloadrails-76ce08a493fbd9f8c38d719f4c329bc2153204fc.tar.gz
rails-76ce08a493fbd9f8c38d719f4c329bc2153204fc.tar.bz2
rails-76ce08a493fbd9f8c38d719f4c329bc2153204fc.zip
Check connection ownership before allowing a thread to release it
A thread can only release a connection if it owns it, or it's owned by a thread that has died.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/mysql/schema_creation.rb')
0 files changed, 0 insertions, 0 deletions