mariadb/storage
Thirunarayanan Balathandayuthapani a6adf567fd Bug #23533396 ASSERTION !M_PREBUILT->TRX->CHECK_FOREIGNS
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
2017-04-26 23:03:27 +03:00
..
archive MDEV-11645: archive.archive fails in buildbot with valgrind (Use of uninitialised value) 2017-03-15 21:26:39 +05:30
blackhole
cassandra Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
connect Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
csv Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
example
federated MDEV-11597 Assertion when doing select from virtual column with impossible value 2017-01-11 09:19:45 +02:00
federatedx MDEV-11597 Assertion when doing select from virtual column with impossible value 2017-01-11 09:19:45 +02:00
heap MDEV-8360 Clean-up CHARSET_INFO: strnncollsp: diff_if_only_endspace_difference 2016-03-31 11:04:48 +04:00
innobase Bug #23533396 ASSERTION !M_PREBUILT->TRX->CHECK_FOREIGNS 2017-04-26 23:03:27 +03:00
maria Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mroonga Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
myisam Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
myisammrg cleanup: remove Item::intro_version 2016-12-12 20:27:25 +01:00
oqgraph Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
perfschema Fix several compile warnings on Windows 2017-03-10 19:07:07 +00:00
rocksdb MDEV-12469: static_assert cannot be determined on bigendian 2017-04-25 18:46:13 +04:00
sequence Fix several compile warnings on Windows 2017-03-17 08:56:57 +00:00
sphinx mtr: make sphinx skipping a bit less verbose 2017-02-13 18:12:15 +01:00
spider Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
test_sql_discovery store/show vcols as item->print() 2016-12-12 20:35:41 +01:00
tokudb Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
xtradb Merge 10.1 into 10.2 2017-04-06 09:52:25 +03:00