Fix for auto-partitioned tables and PARTITION BY KEY() tables

parent b809a9d0
......@@ -1269,6 +1269,11 @@ static void check_fields_in_PF(Field **ptr, bool *all_fields,
*all_fields= TRUE;
*some_fields= FALSE;
if ((!ptr) || !(*ptr))
{
*all_fields= FALSE;
DBUG_VOID_RETURN;
}
do
{
/* Check if the field of the PF is part of the current key investigated */
......
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