1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/mysql-test/suite/innodb/r
Marko Mäkelä 3eb81136e1 MDEV-22939 Server crashes in row_make_new_pathname()
The statement ALTER TABLE...DISCARD TABLESPACE is problematic,
because its designed purpose is to break the referential integrity
of the data dictionary and make a table point to nowhere.

ha_innobase::commit_inplace_alter_table(): Check whether the
table has been discarded. (This is a bit late to check it, right
before committing the change.) Previously, we performed this check
only in a specific branch of the function commit_set_autoinc().

Note: We intentionally allow non-rebuilding ALTER TABLE even if
the tablespace has been discarded, to remain compatible with MySQL.
(See the various tests with "wl5522" in the name, such as
innodb.innodb-wl5522.)

The test case would crash starting with 10.3 only, but it does not hurt
to minimize the code and test difference between 10.2 and 10.3.
2020-09-22 13:40:05 +03:00
..
2014-08-02 21:26:16 +02:00
2019-07-18 18:01:04 +03:00
2019-07-22 15:28:05 +03:00
2017-02-10 06:30:42 -05:00
2011-07-02 22:08:51 +02:00
2017-02-10 06:30:42 -05:00
2017-04-06 09:52:25 +03:00
2020-08-13 07:38:35 +03:00
2018-12-29 11:05:26 +02:00
2016-12-30 13:48:22 +02:00
2017-02-10 06:30:42 -05:00
2020-07-31 11:54:35 +03:00
2017-02-10 06:30:42 -05:00
2019-07-18 18:01:04 +03:00
2019-05-04 17:04:55 +02:00