aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/request_id_test.rb
diff options
context:
space:
mode:
authorEdouard CHIN <edouard.chin@shopify.com>2018-01-23 14:21:58 -0500
committerEdouard CHIN <edouard.chin@shopify.com>2018-01-23 14:21:58 -0500
commit1d04baafa6e79ec8892f9159784617dca8deea1e (patch)
tree673668afeeaacd9b0c4e46b3afcc687a127e029d /actionpack/test/dispatch/request_id_test.rb
parent9a5b1fad630e4d35b64bb62b92c00e6cc79046d4 (diff)
downloadrails-1d04baafa6e79ec8892f9159784617dca8deea1e.tar.gz
rails-1d04baafa6e79ec8892f9159784617dca8deea1e.tar.bz2
rails-1d04baafa6e79ec8892f9159784617dca8deea1e.zip
Allow a 2 bytes margin:
- mysql will add a 2 bytes margin to the statement, so given a `max_allowed_packet` set to 1024 bytes, a 1024 bytes fixtures will no be inserted (mysql will throw an error) - Preventing this by decreasing the max_allowed_packet by 2 bytes when doing the comparison with the actual statement size
Diffstat (limited to 'actionpack/test/dispatch/request_id_test.rb')
0 files changed, 0 insertions, 0 deletions