summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-10-29 02:36:57 +0400
committerunknown <sergefp@mysql.com>2005-10-29 02:36:57 +0400
commit2f6bb04f9e952970528f43124942e3b533e7969a (patch)
tree45ae3ddd001a6f4023a0be5975954ff46ec00ea3 /sql/field.h
parented9a29f1573a6ad9c0b8a934b957cf43ea7d5ffd (diff)
parentd5bb660640c9cb968469f38e2fa5a971782cf254 (diff)
downloadmariadb-git-2f6bb04f9e952970528f43124942e3b533e7969a.tar.gz
4.1->5.0 merge
include/config-netware.h: Merged innobase/row/row0ins.c: BUG#10511: Per alexi's instructions, the changes in innobase/row/row0ins.c are not propagated to 5.x mysql-test/r/create.result: Auto Merged mysql-test/t/create.test: Auto Merged sql/field.cc: Auto Merged sql/field.h: Manual Merge sql/sql_table.cc: Auto Merged
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index a9f47ecc4a9..319316aad15 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1368,6 +1368,11 @@ public:
LEX_STRING comment; // Comment for field
Item *def; // Default value
enum enum_field_types sql_type;
+ /*
+ At various stages in execution this can be length of field in bytes or
+ max number of characters.
+ */
+ ulong length;
ulong length;
uint decimals, flags, pack_length, key_length;
Field::utype unireg_check;