mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
fix innodb-get-fk test
incorrect option name and doing ALTER TABLE under read-only: the test "passed" in 10.0 only because $restart_parameters was first implemented in 10.1
This commit is contained in:
parent
752349d8af
commit
ab64d674e8
2 changed files with 8 additions and 6 deletions
|
|
@ -33,19 +33,20 @@ CONSTRAINT `fk_crewRoleAssigned_crewId` FOREIGN KEY (`crew_id`) REFERENCES `repr
|
|||
CONSTRAINT `fk_crewRoleAssigned_pilotId` FOREIGN KEY (`crew_id`) REFERENCES `repro`.`pilot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB COMMENT="This is a comment about tables";
|
||||
|
||||
--echo # Restart mysqld --innodb_read_only_mode=1
|
||||
-- let $restart_parameters=--innodb-read-only-mode=1
|
||||
--echo # Restart mysqld --innodb_read_only=1
|
||||
-- let $restart_parameters=--innodb-read-only=1
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
SHOW CREATE TABLE `repro`.`crew_role_assigned`;
|
||||
|
||||
-- let $restart_parameters=
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
ALTER TABLE `repro`.`crew_role_assigned` COMMENT = "This is a new comment about tables";
|
||||
SHOW CREATE TABLE `repro`.`crew_role_assigned`;
|
||||
|
||||
--echo # Restart mysqld --innodb_read_only_mode=1
|
||||
-- let $restart_parameters=--innodb-read-only-mode=1
|
||||
--echo # Restart mysqld --innodb_read_only=1
|
||||
-- let $restart_parameters=--innodb-read-only=1
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
#
|
||||
|
|
@ -53,6 +54,7 @@ SHOW CREATE TABLE `repro`.`crew_role_assigned`;
|
|||
#
|
||||
SHOW CREATE TABLE `repro`.`crew_role_assigned`;
|
||||
|
||||
-- let $restart_parameters=
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
DROP TABLE `repro`.`crew_role_assigned`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue