summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-06-27 22:19:27 +0200
committerunknown <tomas@poseidon.ndb.mysql.com>2006-06-27 22:19:27 +0200
commit62722a4dd4fa76e17ea686e696eca139e5709032 (patch)
tree7d8e0d10719ac1dae4c06017a3c067075113521c /sql/partition_info.h
parentd4cb502ce7e75df028243a4f01e3dab24a1a3e10 (diff)
downloadmariadb-git-62722a4dd4fa76e17ea686e696eca139e5709032.tar.gz
partition functions to pass create_info, not only max_rows
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 3d8c6a40221..d938d21653a 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -243,21 +243,21 @@ public:
return no_parts * (is_sub_partitioned() ? no_subparts : 1);
}
- bool set_up_defaults_for_partitioning(handler *file, ulonglong max_rows,
+ bool set_up_defaults_for_partitioning(handler *file, HA_CREATE_INFO *info,
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(THD *thd, handlerton **eng_type,
- handler *file, ulonglong max_rows);
+ handler *file, HA_CREATE_INFO *info);
void print_no_partition_found(TABLE *table);
private:
static int list_part_cmp(const void* a, const void* b);
static int list_part_cmp_unsigned(const void* a, const void* b);
- bool set_up_default_partitions(handler *file, ulonglong max_rows,
+ bool set_up_default_partitions(handler *file, HA_CREATE_INFO *info,
uint start_no);
- bool set_up_default_subpartitions(handler *file, ulonglong max_rows);
+ bool set_up_default_subpartitions(handler *file, HA_CREATE_INFO *info);
char *create_default_partition_names(uint part_no, uint no_parts,
uint start_no);
char *create_subpartition_name(uint subpart_no, const char *part_name);