summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorunknown <reggie@linux.site>2006-03-31 11:39:44 -0600
committerunknown <reggie@linux.site>2006-03-31 11:39:44 -0600
commit04570aa5f4d151d50739609a9225d7ae3e0214b2 (patch)
treee6251209765135077322ee23672d32ca66db4791 /sql/partition_info.h
parent683ce57f452fb08f27a9c089649a8a583f950bfc (diff)
downloadmariadb-git-04570aa5f4d151d50739609a9225d7ae3e0214b2.tar.gz
cleaned up a few method comments
moved several functions from sql_partition to be member functions sql/partition_info.h: move these funcs from sql_partition to this class sql/sql_partition.cc: move these funcs from sql_partition to this class sql/sql_table.cc: calling the member func now instead
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 69aef512a67..08669f8001e 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -245,7 +245,13 @@ public:
bool set_up_defaults_for_partitioning(handler *file, ulonglong max_rows,
uint start_no);
char *has_unique_names();
+ static bool check_engine_mix(handlerton **engine_array, uint no_parts);
+ bool check_range_constants();
+ bool check_list_constants();
+ bool check_partition_info(handlerton **eng_type,
+ handler *file, ulonglong max_rows);
private:
+ static int list_part_cmp(const void* a, const void* b);
bool set_up_default_partitions(handler *file, ulonglong max_rows,
uint start_no);
bool set_up_default_subpartitions(handler *file, ulonglong max_rows);