diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 1d6acb3aee1..59ec1140d15 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -5994,7 +5994,7 @@ int QUICK_RANGE_SELECT::reset() cur_range= (QUICK_RANGE**) ranges.buffer; if (file->inited == handler::NONE && (error= file->ha_index_init(index))) - DBUG_RETURN(error); + DBUG_RETURN(error); /* Do not allocate the buffers twice. */ if (multi_range_length)