mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#19122: MySQL Server crashes when ALTER TABLE t1 REBUILD PARTITION on InnoDB table
This commit is contained in:

parent
2562900269
commit
90c415ffcd
@ -2680,7 +2680,7 @@ retry:
|
||||
goto err;
|
||||
|
||||
// Code below is for repairing a crashed file
|
||||
if ((error= lock_table_name(thd, table_list)))
|
||||
if ((error= lock_table_name(thd, table_list, TRUE)))
|
||||
{
|
||||
if (error < 0)
|
||||
goto err;
|
||||
|
Reference in New Issue
Block a user