- added version requirement to mysql2 gem to keep things from breaking (thanks @taavi!) [#15]
- prevent potentially dangerous usage of
execute
within a pt-osc (thanks @taavi!) [#16] - reconnect to MySQL if connection timed out during pt-osc execution (thanks @jongrieman!) [#17]
- relaxed version requirements for bundler and activerecord-import
- a warning will be issued if an
ALTER
command is called outside of a PtOscMigration
- fix bugs with string quoting, use shellwords instead
- added integration tests for execution of pt-osc migrations
- support
user
andpassword
flags in percona config - pull
username
andpassword
from database config when available
- properly quote string values in MySQL commands
- added additional tests
- support for setting the
--check-alter
flag - internal improvements to the way
percona
options are handled - removed support for Ruby 1.9.2
- fix for loading percona config
- added test coverage for loading run_mode from config
- report
adapter_name
asmysql2
for compatibility with gems that check it (e.g. mceachen/with_advisory_lock)
- now compatible with versions 0.5.0 and later of zdennis/activerecord-import
- fixed
LoadError
inActiveRecord::PtOscMigration
- renamed
PtOscAdapter
->MysqlPtOscAdapter
for better compatibility with Rails db Rake tasks.
- remove dependence on ActiveSupport/Rails
- can specify log file in
percona
config
- Make sure
active_record/migration
isrequire
d
defaults-file
flag can be specified as either an absolute path (has a leading/
) or a relative path.
- fixed bug when
percona
config is not defined indatabase.yml
- initial release