summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2008-04-09 18:24:50 -0400
committerunknown <cmiller@zippy.cornsilk.net>2008-04-09 18:24:50 -0400
commit7cce56b2f2da66ce1ee49eb1a82bbf5233791fd8 (patch)
tree64aaef636a4bd6b860c62be4faa12109ed8738e7 /sql/unireg.h
parentb71bb3f6fcf6c9f57ce0039fbfe9b089324e1b1e (diff)
parent4a77e833f2c05938839d4f8ed8375420734428ad (diff)
downloadmariadb-git-7cce56b2f2da66ce1ee49eb1a82bbf5233791fd8.tar.gz
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug15776/my51-bug15776
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug15776-encore/my51-bug15776-encore sql/field.cc: Auto merged sql/item_create.cc: Auto merged sql/share/errmsg.txt: Auto merged sql/unireg.h: Auto merged mysql-test/r/type_blob.result: manual merge. mysql-test/t/type_blob.test: manual merge. sql/sql_yacc.yy: merge by hand.
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 18c3ab16f6a..6f9c44d98f9 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -63,6 +63,7 @@
#define MAX_MBWIDTH 3 /* Max multibyte sequence */
#define MAX_FIELD_CHARLENGTH 255
#define MAX_FIELD_VARCHARLENGTH 65535
+#define MAX_FIELD_BLOBLENGTH UINT_MAX32 /* cf field_blob::get_length() */
#define CONVERT_IF_BIGGER_TO_BLOB 512 /* Used for CREATE ... SELECT */
/* Max column width +1 */