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/t
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
2015-12-09 10:00:49 +01:00
2018-03-12 14:27:17 +02:00
2017-02-10 06:30:42 -05:00
2014-02-03 15:22:39 +01:00
2017-02-10 06:30:42 -05:00
2020-08-13 07:38:35 +03:00
2013-01-15 19:16:18 +01:00
2015-10-05 17:14:13 +02:00
2017-09-17 11:05:33 +03:00
2018-09-14 08:47:22 +02:00
2019-01-24 14:43:29 +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
2015-10-23 18:49:02 +03:00
2019-04-26 15:31:31 +03:00