Bug #20909518: HANDLE_FATAL_SIGNAL (SIG=11) IN

               FIND_USED_PARTITIONS | SQL/OPT_RANGE.CC:3884

Post-push fix.
parent 8006ad80
......@@ -3088,7 +3088,6 @@ int find_used_partitions(PART_PRUNE_PARAM *ppar, SEL_ARG *key_tree)
int partno= (int)key_tree->part;
bool pushed= FALSE;
bool set_full_part_if_bad_ret= FALSE;
RANGE_OPT_PARAM *range_par= &(ppar->range_param);
if (key_tree->left != &null_element)
{
......@@ -3149,7 +3148,7 @@ int find_used_partitions(PART_PRUNE_PARAM *ppar, SEL_ARG *key_tree)
The only case where we can get "no satisfying subpartitions"
returned from the above call is when an error has occurred.
*/
DBUG_ASSERT(range_par->thd->is_error());
DBUG_ASSERT(ppar->range_param.thd->is_error());
return 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