diff options
author | Igor Babaev <igor@askmonty.org> | 2017-06-10 16:39:39 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2017-06-10 16:39:39 -0700 |
commit | 7a12894de11ab04b93c9e96359008386b3b41cbb (patch) | |
tree | 7d8ee559b29fe28f58b61bf58abd4e4d6d970b05 /storage/innobase/fsp/fsp0fsp.cc | |
parent | b175c41cde8a3cd714ebbd2accc1ab22892bdfef (diff) | |
download | mariadb-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/innobase/fsp/fsp0fsp.cc')
0 files changed, 0 insertions, 0 deletions