summaryrefslogtreecommitdiff
path: root/mysys_ssl
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-09-15 15:02:24 +0200
committerSergei Golubchik <serg@mariadb.org>2017-09-18 10:12:23 +0200
commit50a8beedfe59f97d381e8f506344a6197b8b5702 (patch)
treec52e423a0d609824b469658645c4a38d67376e1a /mysys_ssl
parentfb2035a1a37bb3dfe8311e0bb2b9d474837c035c (diff)
downloadmariadb-git-50a8beedfe59f97d381e8f506344a6197b8b5702.tar.gz
MDEV-13708 Crash with indexed virtual columns and FK cascading deletes
InnoDB was too eager to forget the open table (m_mysql_table=NULL) and that caused it to try to open a table which was opened by the user not FK-prelocked. The server didn't expect that. After fixing this, it crashed in gcol.innodb_virtual_fk test, trying to compute virtual columns for a table that didn't have them. Because row_upd_store_row() was deleting a row from node->table, while computing virtual columns in thr->prebuilt->m_mysql_table. Which wasn't necessarily the same table, and might've not even had virtual columns, even if node->table did.
Diffstat (limited to 'mysys_ssl')
0 files changed, 0 insertions, 0 deletions