summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-26 09:41:28 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-26 09:41:28 +0100
commit88ec8a08f30aa69a48225070ae272ea577f10a2f (patch)
tree78d78e938c608f3ac8e93933d52b4e2c81337205 /sql/table.h
parent11b498d6e0972d33dd35df9ef5211f3f969829f3 (diff)
downloadmariadb-git-88ec8a08f30aa69a48225070ae272ea577f10a2f.tar.gz
MDEV-5909 MySQL BUG#11748924 PARTITIONS: TOO-LONG COMMENT CAUSES NO WARNING
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h3
1 files changed, 3 insertions, 0 deletions
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);