MDEV-11369 Rewrite innodb.instant_alter test
Create each table with a SPATIAL INDEX, because when MySQL 5.7 (and MariaDB 10.2.2) introduced SPATIAL INDEX for InnoDB tables, a table-rebuilding LOCK=NONE would be refused if the table contains any SPATIAL INDEX. With instant ADD COLUMN, the operations must be allowed, and must report '0 rows affected' for everything else except ROW_FORMAT=COMPRESSED tables. FIXME: When instant ADD COLUMN is enabled, the ALGORITHM=INPLACE will have to be changed to LOCK=NONE.
Showing
No preview for this file type
Please register or sign in to comment