summaryrefslogtreecommitdiff
path: root/sql/sql_partition.h
diff options
context:
space:
mode:
authormikael@c-4909e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-04-17 22:51:34 -0400
committermikael@c-4909e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-04-17 22:51:34 -0400
commitcef06fdb61e203aa7b1b29705b08e00480dcc046 (patch)
tree6000e72ead29b81629a2ee2c82b7a63e4cca694b /sql/sql_partition.h
parentba5d08f340b951001bdd4c2a92b0344bace538cb (diff)
downloadmariadb-git-cef06fdb61e203aa7b1b29705b08e00480dcc046.tar.gz
BUG#16002: Make partition functions that are unsigned work properly
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 fd2c474236f..9fde3db2883 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 write_all);
@@ -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.