summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-10-06 17:01:59 +0200
committerMikael Ronstrom <mikael@mysql.com>2009-10-06 17:01:59 +0200
commit576dd76aa81787f71e038efd9e00713b7a44b3c5 (patch)
tree8a64b121a12e42e2945fe186a5bef63e60082416 /sql/partition_info.h
parent2ef1c756db41b003f6e634104f9024cdb4f2b982 (diff)
downloadmariadb-git-576dd76aa81787f71e038efd9e00713b7a44b3c5.tar.gz
BUG#47837, Duplicate field names were allowed in both column list partitioning and key partitioning, added check to give error in this case
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 1f2b6b6a95e..6e197198807 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -271,6 +271,7 @@ public:
bool set_up_defaults_for_partitioning(handler *file, HA_CREATE_INFO *info,
uint start_no);
+ char *has_unique_fields();
char *has_unique_names();
bool check_engine_mix(handlerton *engine_type, bool default_engine);
bool check_range_constants(THD *thd);