Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' fails in Field_string::val_str with derived_with_keys, MERGE view or FROM SQ

Description

The problem appeared on 5.3 tree with the following revision:

Note: I don't know why derived_with_keys makes a difference, but it does.

Stack trace from:

Also reproducible on 5.5, 10.0 trees.

Environment

None

Assignee

Igor Babaev

Reporter

Elena Stepanova

Labels

None

Fix versions

Priority

Major
Configure