summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-04-14 14:32:25 +0500
committerunknown <ramil@mysql.com>2005-04-14 14:32:25 +0500
commit27b2b1fad3993d8b740d7a08cce34c493dc07139 (patch)
tree61fc317c0336a71118ecd4b929bdf84c02d11972 /sql/field.h
parent8487a67bf3191c23b7d1cfb4fcadd1c57b95435b (diff)
downloadmariadb-git-27b2b1fad3993d8b740d7a08cce34c493dc07139.tar.gz
Bit type: fix for create_field::create_field().
sql/field.cc: Bit type: fix for create_field::create_field(). We should return saved length in case of Field_bit_as_char.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h
index 6a1a7af194e..22787850442 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1313,9 +1313,8 @@ public:
class Field_bit_as_char: public Field_bit {
-protected:
- uchar create_length;
public:
+ uchar create_length;
Field_bit_as_char(char *ptr_arg, uint32 len_arg, uchar *null_ptr_arg,
uchar null_bit_arg, uchar *bit_ptr_arg, uchar bit_ofs_arg,
enum utype unireg_check_arg, const char *field_name_arg,