yoshinorim / mha4mysql-node

Development tree of Master High Availability Manager and tools for MySQL (MHA), Node (MySQL Server) part
http://code.google.com/p/mysql-master-ha/
GNU General Public License v2.0
402 stars 202 forks source link

add compatibility with MariaDB & Percona Server's 'enforce_storage_engine' #20

Closed grypyrg closed 8 years ago

grypyrg commented 8 years ago

the test function in apply_diff_relay_logs creates a test table which is forced to be myisam. This is not compatible with certain mysql settings which enforce a certain storage engine (https://www.percona.com/doc/percona-server/5.6/management/enforce_engine.html and https://mariadb.com/kb/en/mariadb/server-system-variables/#enforce_storage_engine). This patch just creates a table with the default storage engine