summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-10-21 12:40:21 +0200
committerMikael Ronstrom <mikael@mysql.com>2009-10-21 12:40:21 +0200
commitbbd922b09c94bafb18e583a00865750164358736 (patch)
treef8665cdbc5f804477667c1ef89f27f0de619b382 /sql/partition_info.h
parentaaa79d9530e64bb092bb994312b7e490d16b9eef (diff)
downloadmariadb-git-bbd922b09c94bafb18e583a00865750164358736.tar.gz
Removed column_list and fixed all issues relating to this change
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 16f3bff8016..2ed0289f656 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -283,12 +283,14 @@ public:
void print_debug(const char *str, uint*);
int fix_func_partition(THD *thd,
part_elem_value *val,
- partition_element *part_elem);
+ partition_element *part_elem,
+ uint part_id);
bool fix_column_value_functions(THD *thd,
part_elem_value *val,
uint part_id);
int fix_parser_data(THD *thd);
int add_max_value();
+ void init_col_val(part_column_list_val *col_val, Item *item);
int reorganize_into_single_field_col_val();
part_column_list_val *add_column_value();
bool set_part_expr(char *start_token, Item *item_ptr,
@@ -296,7 +298,7 @@ public:
static int compare_column_values(const void *a, const void *b);
bool set_up_charset_field_preps();
bool init_column_part();
- bool add_column_list_value(Item *item);
+ bool add_column_list_value(THD *thd, Item *item);
private:
static int list_part_cmp(const void* a, const void* b);
bool set_up_default_partitions(handler *file, HA_CREATE_INFO *info,