diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-11-03 21:17:17 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-11-04 08:12:28 +0100 |
commit | af9649c722810eb1754953eb406a84ec876ce693 (patch) | |
tree | 20089193150bac2119ca6a0a8a31c7e92321241f /README.md | |
parent | 8a346f31b913daa011085afec2b2d38450c73e00 (diff) | |
download | mariadb-git-af9649c722810eb1754953eb406a84ec876ce693.tar.gz |
MDEV-17349 Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed on concurrent SELECT and DELETE after RENAME from table with index on virtual column
Race condition. field->flags were copied from s->field->flags during
field->clone(), early in open_table_from_share(). But s->field->flags
were getting their PART_INDIRECT_KEY_FLAG bit much later in
TABLE::mark_columns_used_by_virtual_fields() and only once per share.
If two threads were executing the code between field->clone()
and mark_columns_used_by_virtual_fields() at the same time, only
one would get PART_INDIRECT_KEY_FLAG bits in field[].
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions