mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fix for auto-partitioned tables and PARTITION BY KEY() tables
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user