mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
WL #2747: Fix such that backup and restore works for user defined
partitioned tables in NDB
This commit is contained in:

parent
e802a94284
commit
6bf5c9113d
@@ -2698,8 +2698,10 @@ int find_used_partitions(PART_PRUNE_PARAM *ppar, SEL_ARG *key_tree)
|
||||
DBUG_EXECUTE("info", dbug_print_onepoint_range(ppar->arg_stack,
|
||||
ppar->part_fields););
|
||||
uint32 part_id;
|
||||
longlong func_value;
|
||||
/* then find in which partition the {const1, ...,constN} tuple goes */
|
||||
if (ppar->get_top_partition_id_func(ppar->part_info, &part_id))
|
||||
if (ppar->get_top_partition_id_func(ppar->part_info, &part_id,
|
||||
&func_value))
|
||||
{
|
||||
res= 0; /* No satisfying partitions */
|
||||
goto pop_and_go_right;
|
||||
|
Reference in New Issue
Block a user