26
26
class Field_string :public Field_longstr {
28
28
bool can_alter_field_type;
29
Field_string(uchar *ptr_arg, uint32 len_arg,uchar *null_ptr_arg,
29
Field_string(uchar *ptr_arg, uint32_t len_arg,uchar *null_ptr_arg,
31
31
enum utype unireg_check_arg, const char *field_name_arg,
33
33
:Field_longstr(ptr_arg, len_arg, null_ptr_arg, null_bit_arg,
34
34
unireg_check_arg, field_name_arg, cs),
35
35
can_alter_field_type(1) {};
36
Field_string(uint32 len_arg,bool maybe_null_arg, const char *field_name_arg,
36
Field_string(uint32_t len_arg,bool maybe_null_arg, const char *field_name_arg,
38
38
:Field_longstr((uchar*) 0, len_arg, maybe_null_arg ? (uchar*) "": 0, 0,
39
39
NONE, field_name_arg, cs),