Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.4.14
-
None
-
Fedora 32
Description
I have a table containing two date fields, a text field and a varchar(128) field. I did a
alter table event add full_event_name text as (concat(
|
date_format(event_starts_on, '%Y-%m-%d '), |
if(event_starts_on <> event_ends_on, date_format(event_ends_on, 'to %Y-%m-%d '), ''), |
event_location_id, ' ', |
event_name));
|
After I did that, accessing the table (say, by doing a mysqldump of its database) causes the server to segfault. If I remove the date_format() calls or the if(), the server doesn't segfault.
Attachments
Issue Links
- duplicates
-
MDEV-24176 Server crashes after insert in the table with virtual column generated using date_format() and if()
- Closed