mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
CREATE TABLE ... LIKE loses VECTOR index
This commit is contained in:
committed by
Sergei Golubchik
parent
eec1339f5d
commit
7c16bba71d
@@ -8734,7 +8734,7 @@ mysql_prepare_alter_table(THD *thd, TABLE *table,
|
||||
Collect all keys which isn't in drop list. Add only those
|
||||
for which some fields exists.
|
||||
*/
|
||||
for (uint i=0 ; i < table->s->keys ; i++,key_info++)
|
||||
for (uint i= 0; i < table->s->total_keys; i++, key_info++)
|
||||
{
|
||||
bool long_hash_key= false;
|
||||
if (key_info->flags & HA_INVISIBLE_KEY)
|
||||
|
Reference in New Issue
Block a user