mirror of
https://github.com/MariaDB/server.git
synced 2025-07-04 01:23:45 +03:00
WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111
This commit is contained in:
@ -4534,7 +4534,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
|
||||
uint no_parts_found;
|
||||
uint no_parts_opt= alter_info->partition_names.elements;
|
||||
no_parts_found= set_part_state(alter_info, table->table->part_info,
|
||||
PART_CHANGED);
|
||||
PART_ADMIN);
|
||||
if (no_parts_found != no_parts_opt &&
|
||||
(!(alter_info->flags & ALTER_ALL_PARTITION)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user