mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
a6adf567fd
Analysis: ======== A foreign key constraint cannot reference a secondary index defined on a generated virtual column. While adding new index/drop existing column, server internally drops the internal foreign key index and it leads to choose the virtual secondary index as foreign key index. But innodb doesn't allow foreign key constraint reference to secondary virtual index. Fix: === Allow foreign key constraint refer to secondary index defined on a generated virutal column. Reviewed-by: Jimmy Yang<jimmy.yang@oracle.com> RB: 13586 |
||
---|---|---|
.. | ||
ha_innodb.cc | ||
ha_innodb.h | ||
ha_innopart.cc | ||
ha_innopart.h | ||
handler0alter.cc | ||
handler0alter_innopart.cc | ||
i_s.cc | ||
i_s.h |