aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/merger.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-09-11 22:29:28 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-09-18 23:12:36 +0900
commitb8bedfa2f26c1697dd48dca6201a591c42ccfba0 (patch)
treeff2b634565d0c1a3d71cc3e8802e2222d5244d0d /activerecord/lib/active_record/relation/merger.rb
parentbbf0d35bf6148752911c1da4b7449450faea8755 (diff)
downloadrails-b8bedfa2f26c1697dd48dca6201a591c42ccfba0.tar.gz
rails-b8bedfa2f26c1697dd48dca6201a591c42ccfba0.tar.bz2
rails-b8bedfa2f26c1697dd48dca6201a591c42ccfba0.zip
Reduce the calling `create_table_info` query
Currently in schema dumping, `create_table_info` query is called twice for each tables. It means if 100 tables exists, the query is called 200 times. This change is that the query is called once for each tables in schema dumping.
Diffstat (limited to 'activerecord/lib/active_record/relation/merger.rb')
0 files changed, 0 insertions, 0 deletions