diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 19:50:51 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 19:50:51 +0300 |
commit | 6a9b2163011938d813ebe4edf9264a0e35b1c6bf (patch) | |
tree | 4a972b20d54d1ee9e94c307d162a02bbda50d0ce | |
parent | 1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583 (diff) | |
download | mariadb-git-6a9b2163011938d813ebe4edf9264a0e35b1c6bf.tar.gz |
Fix clang -Wunused-private-field
-rw-r--r-- | sql/item_func.h | 1 | ||||
-rw-r--r-- | sql/sql_class.h | 1 | ||||
-rw-r--r-- | sql/sql_load.cc | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index c387c56f3b4..9700429d543 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -1737,7 +1737,6 @@ class Item_func_set_user_var :public Item_func_user_var user variable it the first connection context). */ my_thread_id entry_thread_id; - char buffer[MAX_FIELD_WIDTH]; String value; my_decimal decimal_buff; bool null_item; diff --git a/sql/sql_class.h b/sql/sql_class.h index de52cec0f38..6640e02147a 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -4565,7 +4565,6 @@ class select_insert :public select_result_interceptor { class select_create: public select_insert { - ORDER *group; TABLE_LIST *create_table; Table_specification_st *create_info; TABLE_LIST *select_tables; diff --git a/sql/sql_load.cc b/sql/sql_load.cc index d75d911815a..85ab43df0ec 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -68,15 +68,13 @@ class READ_INFO { File file; uchar *buffer, /* Buffer for read text */ *end_of_buff; /* Data in bufferts ends here */ - uint buff_length, /* Length of buffert */ - max_length; /* Max length of row */ + uint buff_length; /* Length of buffert */ const uchar *field_term_ptr,*line_term_ptr; const char *line_start_ptr,*line_start_end; uint field_term_length,line_term_length,enclosed_length; int field_term_char,line_term_char,enclosed_char,escape_char; int *stack,*stack_pos; bool found_end_of_line,start_of_line,eof; - NET *io_net; int level; /* for load xml */ |