aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_adapters/quoting_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-06-20 22:56:45 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-06-20 23:09:29 +0900
commit206cf5193808b41c45fd287e5134dffa961a88de (patch)
treebbbbd46867164e168d0bc9657df9ee1afa6b0ac6 /activerecord/test/cases/connection_adapters/quoting_test.rb
parent289ec49f469533c89fbca8303dbfd7b1a43d1197 (diff)
downloadrails-206cf5193808b41c45fd287e5134dffa961a88de.tar.gz
rails-206cf5193808b41c45fd287e5134dffa961a88de.tar.bz2
rails-206cf5193808b41c45fd287e5134dffa961a88de.zip
Fix infinite loop and lookup miss when `SET` type includes other types
This commit fixes the following problems: * cause infinit type lookup loop when SET includes aliased types * For example: when SET('set') includes aliased type `set`, then aliased `varchar('set')` by type lookup, but type lookup infinit matching same rule. * cause type lookup miss when SET includes registered types * For example: when SET('time') includes registered type `time`, then aliased `varchar('time')` by type lookup, then matching `time` type.
Diffstat (limited to 'activerecord/test/cases/connection_adapters/quoting_test.rb')
0 files changed, 0 insertions, 0 deletions