summaryrefslogtreecommitdiff
path: root/sql/partition_info.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-02-19 11:23:20 +0200
committerMonty <monty@mariadb.org>2018-03-29 13:59:41 +0300
commitab1941266c59a19703a74b5593cf3f508a5752d7 (patch)
tree88f32e86bf8f7683c563f979f2c08d858879ee93 /sql/partition_info.cc
parent2dbeebdb16436e3c2723cd483aaf21d93de799d6 (diff)
downloadmariadb-git-ab1941266c59a19703a74b5593cf3f508a5752d7.tar.gz
Move alter partition flags to alter_info->partition_flags
This is done to get more free flag bits for alter_info->flags Renamed all ALTER PARTITION defines to start with ALTER_PARTITION_ Renamed ALTER_PARTITION to ALTER_PARTITION_INFO Renamed ALTER_TABLE_REORG to ALTER_PARTITION_TABLE_REORG Other things: - Shifted some ALTER_xxx defines to get empty bits at end
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r--sql/partition_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index ac33bbc6a7e..da34a4dbf0f 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -2442,7 +2442,7 @@ static bool strcmp_null(const char *a, const char *b)
such partitioned tables using numeric colums in the partitioning expression.
For more info see bug#14521864.
Does not check if columns etc has changed, i.e. only for
- alter_info->flags == ALTER_PARTITION.
+ alter_info->partition_flags == ALTER_PARTITION_INFO.
*/
bool partition_info::has_same_partitioning(partition_info *new_part_info)