diff options
author | unknown <monty@hundin.mysql.fi> | 2002-06-02 21:22:20 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-06-02 21:22:20 +0300 |
commit | bdb74237346fefff8829d9f4d5f61ec48b35a8f3 (patch) | |
tree | 3ff8869368f9ada509521ec47ec79586d3c86167 /sql/field.h | |
parent | e494b724d0b3100d325a6dd9f59c004b3bb71c1c (diff) | |
download | mariadb-git-bdb74237346fefff8829d9f4d5f61ec48b35a8f3.tar.gz |
Extension of .frm file (not yet ready for push)
include/m_ctype.h:
cleanup
include/mysqld_error.h:
New error messages
sql/field.cc:
Extension of .frm file
sql/field.h:
Extension of .frm file
sql/handler.h:
cleanup
Added CHARSET_INFO to ha_create_information
sql/item_strfunc.cc:
cleanup
sql/lex.h:
Update for FOREIGN KEYS
sql/mysql_priv.h:
Extension of .frm file
sql/slave.cc:
Fixed bug in wait_for_relay_log_space()
sql/spatial.h:
Cleanup
sql/sql_class.h:
Cleanup
sql/sql_lex.h:
Extension of .frm file
sql/sql_parse.cc:
Extension of .frm file
sql/sql_show.cc:
Extension of .frm file
sql/sql_table.cc:
Extension of .frm file
sql/sql_yacc.yy:
Extension of .frm file
sql/table.cc:
Extension of .frm file
sql/unireg.cc:
Extension of .frm file
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index cf7c2a50218..7fb43ddd29f 100644 --- a/sql/field.h +++ b/sql/field.h @@ -41,6 +41,7 @@ public: uchar *null_ptr; // Byte where null_bit is struct st_table *table; // Pointer for table const char *table_name,*field_name; + LEX_STRING comment; ulong query_id; // For quick test of used fields // Field is part of the following keys key_map key_start,part_of_key,part_of_sortkey; @@ -1013,6 +1014,7 @@ public: const char *field_name; const char *change; // If done with alter table const char *after; // Put column after this one + LEX_STRING comment; // Comment for field Item *def; // Default value enum enum_field_types sql_type; uint32 length; @@ -1020,6 +1022,7 @@ public: Field::utype unireg_check; TYPELIB *interval; // Which interval to use Field *field; // For alter table + CHARSET_INFO *charset; uint8 row,col,sc_length,interval_id; // For rea_create_table uint offset,pack_flag; @@ -1067,7 +1070,8 @@ public: Field *make_field(char *ptr, uint32 field_length, uchar *null_pos, uchar null_bit, - uint pack_flag, Field::utype unireg_check, + uint pack_flag, enum_field_types field_type, + Field::utype unireg_check, TYPELIB *interval, const char *field_name, struct st_table *table); uint pack_length_to_packflag(uint type); |