Comment 11 for bug 1635927

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Re: Memory leak when using per-query variables to set MAX_STATEMENT_TIME

A workaround is to set session, not statement max_statement_time:

SET max_statement_time=...
SELECT ...
SET max_statement_time=DEFAULT

The bug itself indeed has been fixed in MariaDB in their feature rewrite.