summaryrefslogtreecommitdiff
path: root/plugin/server_audit
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-05-11 16:24:51 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-05-11 18:30:14 +0300
commitc407ee0976bb10d64a902bb4df36b30b3532012a (patch)
tree3e0c4903e4d58a390952ed3c343483caec0f5601 /plugin/server_audit
parent64f4576be440a766e746a42e0429f0fb6a6d4a26 (diff)
downloadmariadb-git-c407ee0976bb10d64a902bb4df36b30b3532012a.tar.gz
MDEV-16145 Crash in ALTER TABLE…AUTO_INCREMENT=1 after DISCARD TABLESPACE
This is the MariaDB equivalent of fixing the MySQL 5.7 regression Bug #26935001 ALTER TABLE AUTO_INCREMENT TRIES TO READ INDEX FROM DISCARDED TABLESPACE Oracle did not publish a test case, but it is easy to guess based on the commit message. The MariaDB code is different due to MDEV-6076 implementing persistent AUTO_INCREMENT. commit_set_autoinc(): Report ER_TABLESPACE_DISCARDED if the tablespace is missing. prepare_inplace_alter_table_dict(): Avoid accessing a discarded tablespace. (This avoids generating warnings in fil_space_acquire().)
Diffstat (limited to 'plugin/server_audit')
0 files changed, 0 insertions, 0 deletions