summaryrefslogtreecommitdiff
path: root/myisam/mi_rrnd.c
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2006-11-14 19:50:44 +0300
committerevgen@moonbone.local <>2006-11-14 19:50:44 +0300
commit5198354584e56682e5d5b87ee680582aac44ea61 (patch)
treed10a53e376fd473c3ab10173af53e5dab66d8e5c /myisam/mi_rrnd.c
parentcd7613b2658e917f959e8c344dd0eaf6060ed0f8 (diff)
downloadmariadb-git-5198354584e56682e5d5b87ee680582aac44ea61.tar.gz
Bug#20045: Server crash on INSERT ... SELECT ... FROM non-mergeable view
The regression is caused by the fix for bug 14767. When INSERT ... SELECT used a view in the SELECT list that was not inlined, and there was an active transaction, the server could crash in Query_cache::invalidate. On INSERT ... SELECT only the table being inserted into is invalidated. Thus views that can't be inlined are skipped from invalidation. The bug manifests itself in two ways so there is 2 test cases. One checks that the only the table being inserted into is invalidated. And the second one checks that there is no crash on INSERT ... SELECT.
Diffstat (limited to 'myisam/mi_rrnd.c')
0 files changed, 0 insertions, 0 deletions