aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/test_case.rb
diff options
context:
space:
mode:
authorAli Ibrahim <aibrahim2k2@gmail.com>2019-02-22 16:30:15 -0500
committerAli Ibrahim <aibrahim2k2@gmail.com>2019-02-25 10:19:43 -0500
commitb7eeb142afc332e04f902e9b630d9e44dbe4c55b (patch)
tree06f2563d0631cbbf1f99ca75c499d3f258c2f39e /activerecord/test/cases/test_case.rb
parentf4bef91a312954535c37f727c1bdbffaed64c2c1 (diff)
downloadrails-b7eeb142afc332e04f902e9b630d9e44dbe4c55b.tar.gz
rails-b7eeb142afc332e04f902e9b630d9e44dbe4c55b.tar.bz2
rails-b7eeb142afc332e04f902e9b630d9e44dbe4c55b.zip
Update READ_QUERY regex
* The READ_QUERY regex would consider reads to be writes if they started with spaces or parens. For example, a UNION query might have parens around each SELECT - (SELECT ...) UNION (SELECT ...). * It will now correctly treat these queries as reads.
Diffstat (limited to 'activerecord/test/cases/test_case.rb')
0 files changed, 0 insertions, 0 deletions