summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/hfmain.(none) <>2007-11-13 10:51:47 +0400
committerholyfoot/hf@mysql.com/hfmain.(none) <>2007-11-13 10:51:47 +0400
commit7d111abf0eb9efbdc46d2924c0f27d078252e4f5 (patch)
tree7e2b4e01a21459d9a666cbdd1b2b399281a96c25 /sql/field.h
parent29ea825e574aaeb3ebd3e02b44a105b26da899ec (diff)
downloadmariadb-git-7d111abf0eb9efbdc46d2924c0f27d078252e4f5.tar.gz
Bug #31158 Spatial, Union, LONGBLOB vs BLOB bug (crops data)
max_length parameter for BLOB-returning functions must be big enough for any possible content. Otherwise the field created for a table will be too small.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 20f1209a439..29be9ef38d4 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -26,6 +26,7 @@
#define NOT_FIXED_DEC 31
#define DATETIME_DEC 6
+const uint32 max_field_size= (uint32) 4294967295U;
class Send_field;
class Protocol;