summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2018-12-29 20:44:40 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-12-29 22:57:05 +0200
commit802ce9672ff630bbef08235e0e39bf599075f985 (patch)
tree44e645c1bf25a79c4f70f1f433442ef9a3996c1d /unittest
parentb74eb5a5feb41164f7e5cab986cf203537c2128a (diff)
downloadmariadb-git-802ce9672ff630bbef08235e0e39bf599075f985.tar.gz
MDEV-18041 Database corruption after renaming a prefix-indexed column
This is a regression after MDEV-13671. The bug is related to key part prefix lengths wich are stored in SYS_FIELDS. Storage format is not obvious and was handled incorrectly which led to data dictionary corruption. SYS_FIELDS.POS actually contains prefix length too in case if any key part has prefix length. innobase_rename_column_try(): fixed prefixes handling Tests for prefixed indexes added too. Closes #1063
Diffstat (limited to 'unittest')
0 files changed, 0 insertions, 0 deletions