Skip to content

Commit 3772516

Browse files
cvicentiuvuvova
authored andcommitted
Update innodb test result post print_lock_error change
1 parent fd47b96 commit 3772516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/suite/innodb/r/innodb-get-fk.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CONSTRAINT `fk_crewRoleAssigned_crewId` FOREIGN KEY (`crew_id`) REFERENCES `repr
2727
CONSTRAINT `fk_crewRoleAssigned_pilotId` FOREIGN KEY (`crew_id`) REFERENCES `repro`.`pilot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
2828
) ENGINE=InnoDB COMMENT="This is a comment about tables";
2929
ALTER TABLE `repro`.`crew_role_assigned` COMMENT = 'innodb_read_only';
30-
ERROR HY000: Can't lock file (errno: 165 "Table is read only")
30+
ERROR HY000: Table 'crew_role_assigned' is read only
3131
SHOW CREATE TABLE `repro`.`crew_role_assigned`;
3232
Table Create Table
3333
crew_role_assigned CREATE TABLE `crew_role_assigned` (

mysql-test/suite/innodb/t/innodb-get-fk.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CONSTRAINT `fk_crewRoleAssigned_pilotId` FOREIGN KEY (`crew_id`) REFERENCES `rep
3636
-- let $restart_parameters=--innodb-read-only
3737
-- source include/restart_mysqld.inc
3838

39-
--error ER_CANT_LOCK
39+
--error ER_OPEN_AS_READONLY
4040
ALTER TABLE `repro`.`crew_role_assigned` COMMENT = 'innodb_read_only';
4141
SHOW CREATE TABLE `repro`.`crew_role_assigned`;
4242

0 commit comments

Comments
 (0)