summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_partition.cc2
-rw-r--r--sql/ha_partition.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 0d5793c180b..2c0d313fd2b 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -223,8 +223,6 @@ static uint alter_table_flags(uint flags __attribute__((unused)))
HA_FAST_CHANGE_PARTITION);
}
-const uint32 ha_partition::NO_CURRENT_PART_ID= NOT_A_PARTITION_ID;
-
/*
Constructor method
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index fe4f8628891..a13d9bd7618 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -786,7 +786,7 @@ private:
Query_cache_block_table
**block_table,
handler *file, uint *n);
- static const uint NO_CURRENT_PART_ID;
+ static const uint NO_CURRENT_PART_ID= NOT_A_PARTITION_ID;
int loop_extra(enum ha_extra_function operation);
int loop_extra_alter(enum ha_extra_function operations);
void late_extra_cache(uint partition_id);