mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Disable VECTOR indexes with partitioned tables
This commit is contained in:
committed by
Sergei Golubchik
parent
7c16bba71d
commit
4aa1968b89
@@ -3243,6 +3243,11 @@ mysql_prepare_create_table_finalize(THD *thd, HA_CREATE_INFO *create_info,
|
||||
key_number--; // Skip this key
|
||||
continue;
|
||||
case Key::VECTOR:
|
||||
if (IF_PARTITIONING(thd->work_part_info, false))
|
||||
{
|
||||
my_error(ER_FEATURE_NOT_SUPPORTED_WITH_PARTITIONING, MYF(0), "VECTOR");
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
if (key->key_create_info.algorithm == HA_KEY_ALG_UNDEF)
|
||||
key->key_create_info.algorithm= HA_KEY_ALG_VECTOR;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user