mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for auto-partitioned tables and PARTITION BY KEY() tables
This commit is contained in:

parent
b809a9d027
commit
a9ab4f9cb8
@ -1269,6 +1269,11 @@ static void check_fields_in_PF(Field **ptr, bool *all_fields,
|
|||||||
|
|
||||||
*all_fields= TRUE;
|
*all_fields= TRUE;
|
||||||
*some_fields= FALSE;
|
*some_fields= FALSE;
|
||||||
|
if ((!ptr) || !(*ptr))
|
||||||
|
{
|
||||||
|
*all_fields= FALSE;
|
||||||
|
DBUG_VOID_RETURN;
|
||||||
|
}
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
/* Check if the field of the PF is part of the current key investigated */
|
/* Check if the field of the PF is part of the current key investigated */
|
||||||
|
Reference in New Issue
Block a user