summaryrefslogtreecommitdiff
path: root/sql/sql_partition.h
diff options
context:
space:
mode:
authormikael@c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-06-14 09:12:07 -0400
committermikael@c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-06-14 09:12:07 -0400
commite91454f89e3b8c501d2d88bc782fc3f3d5324134 (patch)
tree827438a688b1352593deb848a80ecd9f5c6f17b5 /sql/sql_partition.h
parent02c25f8055ea3829d9c92a00dd9f4e21b74702cd (diff)
parent2dd609909215491b7b83b338b2e9a6a3553238d7 (diff)
downloadmariadb-git-e91454f89e3b8c501d2d88bc782fc3f3d5324134.tar.gz
Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1
into c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug16002
Diffstat (limited to 'sql/sql_partition.h')
-rw-r--r--sql/sql_partition.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_partition.h b/sql/sql_partition.h
index 7b07fd2eb53..845180ad592 100644
--- a/sql/sql_partition.h
+++ b/sql/sql_partition.h
@@ -65,9 +65,8 @@ int get_part_for_delete(const byte *buf, const byte *rec0,
partition_info *part_info, uint32 *part_id);
void prune_partition_set(const TABLE *table, part_id_range *part_spec);
bool check_partition_info(partition_info *part_info,handlerton **eng_type,
- handler *file, ulonglong max_rows);
-bool fix_partition_func(THD *thd, const char *name, TABLE *table,
- bool create_table_ind);
+ TABLE *table, handler *file, ulonglong max_rows);
+bool fix_partition_func(THD *thd, TABLE *table, bool create_table_ind);
char *generate_partition_syntax(partition_info *part_info,
uint *buf_length, bool use_sql_alloc,
bool show_partition_options);
@@ -91,6 +90,8 @@ uint32 get_list_array_idx_for_endpoint(partition_info *part_info,
uint32 get_partition_id_range_for_endpoint(partition_info *part_info,
bool left_endpoint,
bool include_endpoint);
+bool fix_fields_part_func(THD *thd, Item* func_expr, TABLE *table,
+ bool is_sub_part, bool is_field_to_be_setup);
/*
A "Get next" function for partition iterator.