Skip to content

[Bug] set sql_mode with concat() function failed. #4358

@morningman

Description

@morningman

Describe the bug

set sql_mode = concat(@@sql_mode, "STRICT_TRANS_TABLES");
This stmt should work, but it failed with error:

Set statement does't support computing expr:concat(@@sql_mode, 'STRICT_TRANS_TABLES')

Metadata

Metadata

Assignees

Labels

area/mysql-compatibilityIssues or PRs related to the mysql compatibilitykind/fixCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions