Daniel Black
97e0aeaf72
mysqlcheck fix-view-algorithm -> upgrade-views
...
Change mysqlcheck option to upgrade-views={NO,YES,FROM_MYSQL}
mysql_upgrade now runs upgrade-views=yes to perform a checksum of all
views and add mariadb-version by default. upgrade-views=from_mysql if
MySQL is detected as teh origin version.
2015-04-14 12:43:50 +10:00
Daniel Black
c584058f8f
Update tests for mysql_upgrade_view
...
Add bad checksum test
Validate REPAIR VIEW {table} add mariadb-version to the frm
Add tests for the binary logging of REPAIR VIEW
2015-04-14 11:01:31 +10:00
Daniel Black
fc277cd4ba
Add --fix-tables option to mysql-check
...
Mainly so that mysql_upgrade.c can use --skip-fix-tables
Correct mysql_upgrade_view test output based on phases and
previous error message changes.
2015-04-13 22:17:57 +10:00
Oleksandr Byelkin
70960e7ab7
MDEV-6916: Upgrade from MySQL to MariaDB breaks already created views
...
mysql_upgrade upgrades views`
from r4408:
missing files from mysql-test/std_data/mysql_upgrade/*
2015-04-12 15:56:21 +10:00