summaryrefslogtreecommitdiff
path: root/storage/xtradb
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2017-06-10 16:39:39 -0700
committerIgor Babaev <igor@askmonty.org>2017-06-10 16:39:39 -0700
commit7a12894de11ab04b93c9e96359008386b3b41cbb (patch)
tree7d8ee559b29fe28f58b61bf58abd4e4d6d970b05 /storage/xtradb
parentb175c41cde8a3cd714ebbd2accc1ab22892bdfef (diff)
downloadmariadb-git-7a12894de11ab04b93c9e96359008386b3b41cbb.tar.gz
Fixed the bug mdev12992.
When the SELECT query from a trigger that used a subquery in its SELECT list was prepared the counter select_n_having_items was incremented in the constructor Item::Item(THD *thd). As a result each invocation of the trigger required more and more memory for the ref_pointer_array for this SELECT. Made sure that the counter st_select_lex::select_n_having_items would be incremented only at the first execution of such trigger.
Diffstat (limited to 'storage/xtradb')
0 files changed, 0 insertions, 0 deletions