Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
11.4, 11.8, 12.2, 12.3
-
Can result in unexpected behaviour
-
Q1/2026 Server Maintenance
Description
CREATE OR REPLACE TABLE t1 AS |
SELECT CONCAT((SELECT 9 FROM seq_1_to_1) * (SELECT 9 FROM seq_1_to_1)) AS c; |
ERROR 1406 (22001): Data too long for column 'c' at row 2
|
Looks wrong. There should not be an error.
A similar script:
CREATE OR REPLACE TABLE t0 AS SELECT 1; |
CREATE OR REPLACE TABLE t1 AS |
SELECT CONCAT((SELECT 9 FROM t0) * (SELECT 9 FROM t0)) AS c; |
ERROR 1406 (22001): Data too long for column 'c' at row 2
|
Attachments
Issue Links
- blocks
-
MDEV-33830 Support for cursors on prepared statements
-
- Approved
-
-
MDEV-38597 Server crashes with a subselect in parameter
-
- Closed
-