diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-01 21:27:47 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-01 22:41:46 +0900 |
commit | bff5e799c056a1914653ae53166949b4adff3d4b (patch) | |
tree | 03fd528664808e87b9f2cb44a848e4aa195f275a /tools | |
parent | 0c4bf982e80414a5437f18f988b63885359326e7 (diff) | |
download | rails-bff5e799c056a1914653ae53166949b4adff3d4b.tar.gz rails-bff5e799c056a1914653ae53166949b4adff3d4b.tar.bz2 rails-bff5e799c056a1914653ae53166949b4adff3d4b.zip |
Relax table name detection in `from` to allow any extension like INDEX hint
#35360 allows table name qualified if `from` has original table name.
But that is still too strict. We have a valid use case that `from` with
INDEX hint (e.g. `from("comments USE INDEX (PRIMARY)")`).
So I've relaxed the table name detection in `from` to allow any
extension like INDEX hint.
Fixes #35359.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions