Commit 75474aa4 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix trivial error

parent 83281cf2
...@@ -760,6 +760,8 @@ int DsMrr_impl::dsmrr_init(handler *h_arg, RANGE_SEQ_IF *seq_funcs, ...@@ -760,6 +760,8 @@ int DsMrr_impl::dsmrr_init(handler *h_arg, RANGE_SEQ_IF *seq_funcs,
h= h_arg; h= h_arg;
is_mrr_assoc= !test(mode & HA_MRR_NO_ASSOCIATION); is_mrr_assoc= !test(mode & HA_MRR_NO_ASSOCIATION);
strategy_exhausted= FALSE;
if (mode & (HA_MRR_USE_DEFAULT_IMPL | HA_MRR_SORTED)) if (mode & (HA_MRR_USE_DEFAULT_IMPL | HA_MRR_SORTED))
{ {
DBUG_ASSERT(h->inited == handler::INDEX); DBUG_ASSERT(h->inited == handler::INDEX);
...@@ -834,7 +836,6 @@ int DsMrr_impl::dsmrr_init(handler *h_arg, RANGE_SEQ_IF *seq_funcs, ...@@ -834,7 +836,6 @@ int DsMrr_impl::dsmrr_init(handler *h_arg, RANGE_SEQ_IF *seq_funcs,
goto error; goto error;
} }
} }
strategy_exhausted= FALSE;
res= strategy->refill_buffer(TRUE); res= strategy->refill_buffer(TRUE);
if (res) if (res)
......
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