1
0
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:
Mikael Ronstrom
2009-09-10 11:15:39 +02:00
parent 905d715f10
commit d0d52e9f11
32 changed files with 1810 additions and 11 deletions

View File

@ -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)))
{