[MDEV-29387] Period name with more than 32 symbols crashes the server Created: 2022-08-25  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Data Definition - Create Table, Versioned Tables
Affects Version/s: 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.4, 10.5, 10.6

Type: Bug Priority: Major
Reporter: Nikita Malyavin Assignee: Nikita Malyavin
Resolution: Unresolved Votes: 0
Labels: beginner-friendly, crash

Issue Links:
Relates
relates to MDEV-18873 Server crashes in Compare_identifiers... Closed

 Description   

The following query:

create table t2 (s date, e date, period for `asdf123456789012345678901234567890` (s,e));

leads to a crash.
As it is noted in https://github.com/MariaDB/server/pull/2146, this is because the constraint name is limited to 32 symbols, while the column name is up to 64 symbols.


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