mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-5778: Valgrind failure in innodb_ext_keys.test
- Fix valgrind failure: make test_if_order_by_key() account for extended keys feature.
This commit is contained in:
@ -19492,7 +19492,7 @@ static int test_if_order_by_key(ORDER *order, TABLE *table, uint idx,
|
|||||||
for (; const_key_parts & 1 ; const_key_parts>>= 1)
|
for (; const_key_parts & 1 ; const_key_parts>>= 1)
|
||||||
key_part++;
|
key_part++;
|
||||||
|
|
||||||
if (key_part == key_part_end)
|
if (key_part >= key_part_end)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
We are at the end of the key. Check if the engine has the primary
|
We are at the end of the key. Check if the engine has the primary
|
||||||
|
Reference in New Issue
Block a user