File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -9877,6 +9877,8 @@ int spider_db_open_item_ident(
98779877 } else {
98789878 if (!use_fields)
98799879 {
9880+ if (!(field = spider->field_exchange (field)))
9881+ DBUG_RETURN (ER_SPIDER_COND_SKIP_NUM);
98809882 if (str)
98819883 {
98829884 if ((error_num = share->dbton_share [dbton_id]->
@@ -9885,16 +9887,12 @@ int spider_db_open_item_ident(
98859887 DBUG_RETURN (error_num);
98869888 }
98879889 } else {
9888- if (!(field = spider->field_exchange (field)))
9889- DBUG_RETURN (ER_SPIDER_COND_SKIP_NUM);
98909890 if (str)
98919891 {
98929892 SPIDER_FIELD_CHAIN *field_chain = fields->get_next_field_chain ();
98939893 SPIDER_FIELD_HOLDER *field_holder = field_chain->field_holder ;
98949894 spider = field_holder->spider ;
98959895 share = spider->share ;
9896- field = spider->field_exchange (field);
9897- DBUG_ASSERT (field);
98989896 if ((error_num = share->dbton_share [dbton_id]->
98999897 append_column_name_with_alias (str, field->field_index ,
99009898 field_holder->alias ->ptr (), field_holder->alias ->length ())))
You can’t perform that action at this time.
0 commit comments