From b572e51c305a9360b70dd92ca9d0ecd2ab6ceeb8 Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Wed, 28 Oct 2009 01:11:17 +0100 Subject: BUG#48165, needed to introduce length restrictions on partitioning fields to ensure that no stack overruns occur --- sql/sql_partition.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_partition.h') diff --git a/sql/sql_partition.h b/sql/sql_partition.h index 0dac13a3fcc..724a63e1d76 100644 --- a/sql/sql_partition.h +++ b/sql/sql_partition.h @@ -71,6 +71,7 @@ bool partition_key_modified(TABLE *table, const MY_BITMAP *fields); void get_partition_set(const TABLE *table, uchar *buf, const uint index, const key_range *key_spec, part_id_range *part_spec); +uint get_partition_field_store_length(Field *field); void get_full_part_id_from_key(const TABLE *table, uchar *buf, KEY *key_info, const key_range *key_spec, -- cgit v1.2.1