diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-10-28 01:11:17 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-10-28 01:11:17 +0100 |
commit | b572e51c305a9360b70dd92ca9d0ecd2ab6ceeb8 (patch) | |
tree | 32eac76c7c0b41298c58cd40bc85138e177d8a98 /sql/sql_partition.h | |
parent | 59cc5189900e08e770239f2d53cb83cb194e8b3c (diff) | |
download | mariadb-git-b572e51c305a9360b70dd92ca9d0ecd2ab6ceeb8.tar.gz |
BUG#48165, needed to introduce length restrictions on partitioning fields to ensure that no stack overruns occur
Diffstat (limited to 'sql/sql_partition.h')
-rw-r--r-- | sql/sql_partition.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |