Commit dfd6ebb1 authored by unknown's avatar unknown

A small cleanup in sql_select.h


sql/sql_select.h:
  Remove double assingment of fields_list.
parent 02b0e430
...@@ -277,8 +277,6 @@ class JOIN :public Sql_alloc ...@@ -277,8 +277,6 @@ class JOIN :public Sql_alloc
hidden_group_fields= 0; /*safety*/ hidden_group_fields= 0; /*safety*/
buffer_result= test(select_options & OPTION_BUFFER_RESULT) && buffer_result= test(select_options & OPTION_BUFFER_RESULT) &&
!test(select_options & OPTION_FOUND_ROWS); !test(select_options & OPTION_FOUND_ROWS);
all_fields= fields_arg;
fields_list= fields_arg;
error= 0; error= 0;
select= 0; select= 0;
return_tab= 0; return_tab= 0;
...@@ -288,6 +286,7 @@ class JOIN :public Sql_alloc ...@@ -288,6 +286,7 @@ class JOIN :public Sql_alloc
optimized= 0; optimized= 0;
cond_equal= 0; cond_equal= 0;
all_fields= fields_arg;
fields_list= fields_arg; fields_list= fields_arg;
bzero((char*) &keyuse,sizeof(keyuse)); bzero((char*) &keyuse,sizeof(keyuse));
tmp_table_param.copy_field=0; tmp_table_param.copy_field=0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment