[MDEV-26439] Typo in Foreign Key error message Created: 2021-08-19  Updated: 2021-08-19  Resolved: 2021-08-19

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.5.0, 10.6.0, 10.6.4
Fix Version/s: 10.5.13, 10.6.5, 10.7.0

Type: Bug Priority: Minor
Reporter: Oli Sennhauser Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: regression
Environment:

n.a.


Issue Links:
Problem/Incident
is caused by MDEV-20480 Obsolete internal parser for FK in In... Closed

 Description   

Typo: "mach" instead of "match":

Create table `test`.`employee` with foreign key `fk_team` constraint failed. Field type or character set for column 'team_id' does not mach referenced

To me fixed in the following files:

mysql-test/suite/innodb/r/innodb-fk-warnings.result:Warning 150 Create table `test`.`t2` with foreign key (a) constraint failed. Field type or character set for column 'a' does not mach referenced column 'f1'.
storage/innobase/handler/ha_innodb.cc: "does not mach referenced column '%s'.",


Generated at Thu Feb 08 09:45:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.