Hi Alexander!
Can you double check that this same problem doesn't occur with custom
aggregate functions? There is a switch involved with cursors and custom
aggregate functions here:
/* Only pop cursors when we're done with group aggregate running. */
if (m_chistics.agg_type !=
Hello Sanja,
Please review a patch for MDEV-16584.
Thanks!
commit 23d4d40f156f1c1300015cfa91603447dff0399e
Author: Alexander Barkov
Date: Tue Jun 26 14:43:45 2018 +0400
MDEV-16584 SP with a cursor inside a loop wastes THD memory aggressively
Problem:
push_cursor()
2 matches
Mail list logo