1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
Monty 8399af81be Bug#19784790: ASSERTION `PART_SHARE->PARTITIONS_SHARE_REFS->NUM_PARTS
>= M_TOT_PARTS' FAILED.

This patch is taken from MySQL, originally written by Mattias Jonsson
Here follows the original commit message:

Problem in handle_alter_part_error(),
result in altered partition_info object was still used
if table was under LOCK TABLES.

Solution was to always close and destroy all table
and table_share instances if exclusive mdl lock was
possible.
If not succeeding in get an exlusive lock (only possible
during rollback of DDL), at least close and destroy this
table instance.

rb#7361.
Approved by Mikael and Aditya.
2020-04-19 17:33:51 +03:00
..
2020-04-08 14:51:14 +04:00
2019-05-13 17:54:04 +03:00
2019-05-19 20:55:37 +02:00
2019-05-19 20:55:37 +02:00
2019-05-11 22:19:05 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 21:29:06 +03:00
2019-05-19 20:55:37 +02:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 21:29:06 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 21:29:06 +03:00
2020-03-16 00:10:50 +02:00
2020-04-08 10:36:41 +03:00
2020-04-08 10:36:41 +03:00
2019-05-13 17:54:04 +03:00
2019-05-14 17:18:46 +03:00
2019-05-13 17:54:04 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2020-03-24 20:47:41 +02:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-19 20:55:37 +02:00
2019-05-19 20:55:37 +02:00
2019-05-19 20:55:37 +02:00
2020-02-27 18:12:47 +04:00
2020-03-30 19:07:25 +03:00
2020-03-11 17:52:49 +01:00
2019-05-19 20:55:37 +02:00
2019-12-27 21:17:16 +02:00
2020-03-16 00:10:50 +02:00
2020-01-28 14:17:09 +02:00
2019-04-02 11:04:54 +03:00
2019-12-27 21:17:16 +02:00
2020-03-30 19:07:25 +03:00
2020-03-31 17:42:34 +02:00
2019-10-18 09:05:27 +03:00
2019-05-11 21:29:06 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2020-04-08 10:36:41 +03:00
2019-05-11 21:29:06 +03:00
2020-03-11 17:52:49 +01:00
2019-05-19 20:55:37 +02:00
2019-05-11 21:29:06 +03:00
2019-05-14 17:18:46 +03:00
2019-06-25 13:21:36 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2020-02-11 14:40:35 +01:00
2020-02-11 14:40:35 +01:00
2020-03-27 09:39:15 +02:00
2019-12-16 07:47:17 +02:00
2019-05-11 21:29:06 +03:00
2020-03-30 19:07:25 +03:00
2019-09-27 19:12:07 +03:00
2020-04-08 10:36:41 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-06-25 13:21:36 +03:00
2019-05-14 17:18:46 +03:00
2019-05-19 20:55:37 +02:00
2019-05-14 17:18:46 +03:00
2020-04-08 10:36:41 +03:00
2019-05-11 22:19:05 +03:00
2019-05-11 22:19:05 +03:00
2020-04-03 13:01:21 +04:00
2020-03-23 10:50:14 +02:00
2019-05-19 20:55:37 +02:00
2020-03-27 09:39:15 +02:00
2019-05-11 22:19:05 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2020-03-27 09:39:15 +02:00
2019-05-11 22:19:05 +03:00
2019-05-23 10:32:21 +03:00
2020-03-10 19:24:24 +01:00
2020-03-27 09:39:15 +02:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2020-03-21 11:37:10 +02:00
2020-03-30 19:07:25 +03:00
2019-05-19 20:55:37 +02:00
2020-03-16 00:10:50 +02:00
2019-05-14 17:18:46 +03:00
2020-03-16 00:10:50 +02:00
2019-05-14 17:18:46 +03:00
2020-03-16 00:10:50 +02:00
2020-03-21 11:37:10 +02:00
2020-03-21 11:37:10 +02:00
2020-04-03 13:01:21 +04:00
2019-05-14 17:18:46 +03:00
2019-04-02 12:00:04 +03:00
2020-03-03 13:50:33 +03:00
2019-05-19 20:55:37 +02:00
2019-05-14 17:18:46 +03:00
2019-12-27 15:14:48 +02:00
2020-04-11 12:53:25 +02:00
2019-05-11 21:29:06 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 19:25:02 +03:00
2019-05-11 21:29:06 +03:00
2019-05-14 17:18:46 +03:00
2020-03-30 19:07:25 +03:00
2019-05-23 10:32:21 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-19 20:55:37 +02:00
2019-05-11 19:25:02 +03:00
2019-05-14 17:18:46 +03:00
2019-05-19 20:55:37 +02:00
2019-05-11 21:29:06 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 19:25:02 +03:00
2019-05-19 20:55:37 +02:00
2019-05-11 21:29:06 +03:00
2020-04-12 22:11:22 +02:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 21:29:06 +03:00
2020-03-30 14:50:23 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-11 22:19:05 +03:00
2020-04-03 13:01:21 +04:00
2019-05-19 20:55:37 +02:00
2020-04-08 10:36:41 +03:00
2020-03-30 19:07:25 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-10-10 11:19:25 +03:00
2020-03-30 19:07:25 +03:00
2019-05-11 21:29:06 +03:00
2020-03-11 17:52:49 +01:00
2019-05-19 20:55:37 +02:00
2020-03-16 16:24:36 +02:00
2019-05-14 17:18:46 +03:00
2020-04-03 13:01:21 +04:00
2019-05-11 22:19:05 +03:00
2019-12-16 07:47:17 +02:00
2020-03-20 22:06:55 +02:00
2019-05-19 20:55:37 +02:00
2019-05-14 17:18:46 +03:00
2020-04-12 22:11:22 +02:00
2019-05-14 17:18:46 +03:00
2019-05-14 17:18:46 +03:00
2019-05-28 14:54:38 +04:00
2019-05-14 17:18:46 +03:00
2020-04-03 13:01:21 +04:00
2020-04-03 13:01:21 +04:00
2020-04-08 10:36:41 +03:00
2020-03-30 19:07:25 +03:00
2020-03-30 19:07:25 +03:00
2020-03-30 19:07:25 +03:00
2020-03-30 19:07:25 +03:00
2020-03-30 19:07:25 +03:00
2019-05-19 20:55:37 +02:00
2019-05-11 21:29:06 +03:00
2019-05-19 20:55:37 +02:00
2020-04-08 10:36:41 +03:00
2019-05-14 17:18:46 +03:00
2019-05-10 20:52:00 +03:00
2020-03-30 11:12:56 +03:00
2020-03-21 11:37:10 +02:00
2019-11-07 08:52:30 +01:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-01-23 15:30:00 +04:00
2019-05-11 19:25:02 +03:00
2019-05-19 20:55:37 +02:00
2019-05-19 20:55:37 +02:00
2020-01-29 15:06:06 +02:00
2020-03-21 11:37:10 +02:00
2019-01-23 15:30:00 +04:00
2019-05-19 20:55:37 +02:00
2020-01-29 15:06:06 +02:00
2020-03-28 21:20:29 +02:00
2020-01-29 15:06:06 +02:00