Skip to content

Missing comma on ALTER TABLE with ENUM #234

@MasterSalomon

Description

@MasterSalomon

Hi,

the following statement:

ALTER TABLE `mail_template` CHANGE COLUMN `mtpl_group` `mtpl_group` ENUM('ORDER') NULL DEFAULT NULL ;

throws an exeception: "Missing comma before start of a new alter operation.".

When renamed 'ORDER' to 'TEST' parser works fine.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions