diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-02-12 09:48:36 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-02-12 09:48:36 +0200 |
commit | 6f3f191cfa434f1be71b42747769114ba31ae567 (patch) | |
tree | 395f7b381e4177bed41859a76786a9957b383da9 /sql/parse_file.h | |
parent | 028ba10d0bd0f66b0d3c49167b67ab2e6061eb64 (diff) | |
download | mariadb-git-6f3f191cfa434f1be71b42747769114ba31ae567.tar.gz |
MDEV-24763 ALTER TABLE fails to rename a column in SYS_FIELDS
innobase_rename_column_try(): When renaming SYS_FIELDS records
for secondary indexes, try to use both formats of SYS_FIELDS.POS
as keys, in case the PRIMARY KEY includes a column prefix.
Without this fix, an ALTER TABLE that renames a column followed
by a server restart (or LRU eviction of the table definition
from dict_sys) would make the table inaccessible.
Diffstat (limited to 'sql/parse_file.h')
0 files changed, 0 insertions, 0 deletions