mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33777 Spider: Correct checks for show index column numbers
It was updated for 10.6+ in MDEV-7317. Because a lower version spider node may connect to a higher version data node, we need to change this for 10.4 and 10.5 as well.
This commit is contained in:
@@ -1186,9 +1186,9 @@ int spider_db_mbase_result::fetch_table_cardinality(
|
||||
if (mode == 1)
|
||||
{
|
||||
uint num_fields = this->num_fields();
|
||||
if (num_fields < 12 || num_fields > 13)
|
||||
if (num_fields < 12 || num_fields > 14)
|
||||
{
|
||||
DBUG_PRINT("info",("spider num_fields < 12 || num_fields > 13"));
|
||||
DBUG_PRINT("info",("spider num_fields < 12 || num_fields > 14"));
|
||||
DBUG_RETURN(ER_SPIDER_INVALID_REMOTE_TABLE_INFO_NUM);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user