diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-09-11 22:29:28 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-09-18 23:12:36 +0900 |
commit | b8bedfa2f26c1697dd48dca6201a591c42ccfba0 (patch) | |
tree | ff2b634565d0c1a3d71cc3e8802e2222d5244d0d /activerecord/lib/active_record/persistence.rb | |
parent | bbf0d35bf6148752911c1da4b7449450faea8755 (diff) | |
download | rails-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/persistence.rb')
0 files changed, 0 insertions, 0 deletions