[MDEV-28848] Server crash with particular SQL sequence Created: 2022-06-15 Updated: 2022-06-15 Resolved: 2022-06-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Virtual Columns |
| Affects Version/s: | 10.4.22, 10.6.5, 10.3.34, 10.4.24 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Risato Stefano | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux 64, Linux ARM, Windows server |
||
| Issue Links: |
|
||||||||
| Description |
|
Both of these sql sequences cause server crashes: first: CREATE TABLE t1 ( SELECT ID, f4 FROM t1; ALTER TABLE t1 CHANGE COLUMN `ID` `ID` VARCHAR(2); second: CREATE TABLE t1 ( SELECT ID, f4 FROM t1; INSERT INTO t1 (ID,f1,f2,f3) VALUES (1,'','',CURDATE()); SELECT ID, f4 FROM t1; In both cases the problem occurs if I make a select before modifying the data or the structure. Both with Aria and InnoDB engines. |
| Comments |
| Comment by Alice Sherepa [ 2022-06-15 ] | ||||||||||||||||||||||||
|
Thank you for the report!
|