summaryrefslogtreecommitdiff
path: root/sql/parse_file.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-02-12 09:48:36 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-02-12 09:48:36 +0200
commit6f3f191cfa434f1be71b42747769114ba31ae567 (patch)
tree395f7b381e4177bed41859a76786a9957b383da9 /sql/parse_file.h
parent028ba10d0bd0f66b0d3c49167b67ab2e6061eb64 (diff)
downloadmariadb-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