[MDEV-22558] wrong error for invalid utf8 table comment Created: 2020-05-14  Updated: 2020-05-30  Resolved: 2020-05-30

Status: Closed
Project: MariaDB Server
Component/s: Data Definition - Create Table
Affects Version/s: 10.2.32, 10.3.23, 10.4.13
Fix Version/s: 10.5.4, 10.2.33, 10.3.24, 10.4.14

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MDEV-22005 UBSAN: applying non-zero offset 2 to ... Closed

 Description   

CREATE TABLE `test` (
  `x` INT COMMENT '�'
);

comment is one byte 0x92) results in

ERROR 1629 (HY000) at line 1: Comment for field 'x' is too long (max = 1024)


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