From 88ec8a08f30aa69a48225070ae272ea577f10a2f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 26 Mar 2014 09:41:28 +0100 Subject: MDEV-5909 MySQL BUG#11748924 PARTITIONS: TOO-LONG COMMENT CAUSES NO WARNING --- sql/table.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sql/table.h') diff --git a/sql/table.h b/sql/table.h index 38a33886869..60a8578fc0b 100644 --- a/sql/table.h +++ b/sql/table.h @@ -2539,6 +2539,9 @@ int rename_file_ext(const char * from,const char * to,const char * ext); char *get_field(MEM_ROOT *mem, Field *field); bool get_field(MEM_ROOT *mem, Field *field, class String *res); +bool validate_comment_length(THD *thd, LEX_STRING *comment, size_t max_len, + uint err_code, const char *name); + int closefrm(TABLE *table, bool free_share); void free_blobs(TABLE *table); void free_field_buffers_larger_than(TABLE *table, uint32 size); -- cgit v1.2.1