mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug#18053 Partitions: crash if null
Bug#18070 Partitions: wrong result on WHERE ... IS NULL removed unnecessary code added handling of NULL values
This commit is contained in:
@@ -2296,6 +2296,7 @@ bool prune_partitions(THD *thd, TABLE *table, Item *pprune_cond)
|
||||
RANGE_OPT_PARAM *range_par= &prune_param.range_param;
|
||||
|
||||
prune_param.part_info= part_info;
|
||||
prune_param.part_iter.has_null_value= FALSE;
|
||||
|
||||
init_sql_alloc(&alloc, thd->variables.range_alloc_block_size, 0);
|
||||
range_par->mem_root= &alloc;
|
||||
|
||||
Reference in New Issue
Block a user