summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-15 16:45:00 +0200
committermonty@mysql.com <>2005-02-15 16:45:00 +0200
commit410e51c854a929a96f5e91236abe19526ddc4947 (patch)
tree16b9cc851452c212c3d986a1f88c4ae9a2f5d862 /sql/field.h
parent919f2f2364c7014af352ea60bf83a894374fb4fc (diff)
downloadmariadb-git-410e51c854a929a96f5e91236abe19526ddc4947.tar.gz
Fixed failing test cases 'row.test' when running with --ps-protocol
Simple optimzations done while reviewing code
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h
index 327fb4c885b..cfed2eb19e1 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -367,7 +367,9 @@ public:
my_decimal *val_decimal(my_decimal *);
};
-/* base class for Item_string, Item_valstring, Item_blob */
+
+/* base class for Field_string, Field_varstring and Field_blob */
+
class Field_longstr :public Field_str
{
public:
@@ -1181,7 +1183,9 @@ public:
bool has_charset(void) const
{ return charset() == &my_charset_bin ? FALSE : TRUE; }
field_cast_enum field_cast_type() { return FIELD_CAST_BLOB; }
- uint32 max_length();};
+ uint32 max_length();
+};
+
#ifdef HAVE_SPATIAL
class Field_geom :public Field_blob {