Re: [Maria-developers] Please review MDEV-16584 SP with a cursor inside a loop wastes THD memory aggressively

2018-07-30 Thread Vicențiu Ciorbaru
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 !=

[Maria-developers] Please review MDEV-16584 SP with a cursor inside a loop wastes THD memory aggressively

2018-06-26 Thread Alexander Barkov
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()