aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/callbacks_test.rb
diff options
context:
space:
mode:
authorMatt Jones <al2o3cr@gmail.com>2015-02-08 18:36:11 -0500
committerMatt Jones <al2o3cr@gmail.com>2015-02-08 19:06:52 -0500
commit1a836b21b93acd6851bcb4f83c8b2678282d9122 (patch)
treed8c5a57a97b9e53b22d67dafebe3690ce2017541 /activerecord/test/cases/callbacks_test.rb
parent6f8d9bd6da6349d3d179f2e72db5bc7044a8e5c1 (diff)
downloadrails-1a836b21b93acd6851bcb4f83c8b2678282d9122.tar.gz
rails-1a836b21b93acd6851bcb4f83c8b2678282d9122.tar.bz2
rails-1a836b21b93acd6851bcb4f83c8b2678282d9122.zip
Match table names exactly on MySQL
The `SHOW TABLES LIKE` command accepts metacharacters `%` and `_` in potentially unexpected ways. This can be avoided by querying `information_schema.tables` directly. Fixes #17897
Diffstat (limited to 'activerecord/test/cases/callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions