diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:56:28 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:56:28 +0200 |
commit | 9ec326a8b1fd0d83d9baaaf64f021be10564409d (patch) | |
tree | 2d75f40a13edf1484d2a1555ef0f055d1d760b43 /sql/field.h | |
parent | 84b882172d6ff772148da808531f67baa4e89283 (diff) | |
download | mariadb-git-9ec326a8b1fd0d83d9baaaf64f021be10564409d.tar.gz |
cleanup frm creation:
* comments
* cosmetic changes, *(ptr+5) -> ptr[5]
* a couple of trivial functions -> inline
* remove unused argument from pack_header()
* create_frm() no longer creates frm file (the function used to prepare and
fill a memory buffer and call my_create at the end. Now it only prepares
a memory buffer). Renamed accordingly.
* don't call pack_screen twice, go for a smaller screen area in the first attempt
* remove useless calls to check_duplicate_warning()
* don't write unireg screens to .frm files
* remove make_new_entry(), it's basically dead code, always calculating
and writing into frm the same string value. replace the function call
with the constant string.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 92a01b9421c..6e880e78c6e 100644 --- a/sql/field.h +++ b/sql/field.h @@ -2383,7 +2383,7 @@ public: /** structure with parsed options (for comparing fields in ALTER TABLE) */ ha_field_option_struct *option_struct; - uint8 row,col,sc_length,interval_id; // For rea_create_table + uint8 interval_id; // For rea_create_table uint offset,pack_flag; /* |