Commit f4600b1f authored by unknown's avatar unknown
Browse files

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

parent db30c09c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 */