10 Oct
2022
10 Oct
'22
9:33 a.m.
Sergei, On Sun, Oct 9, 2022 at 2:03 PM Sergei Golubchik <serg@mariadb.org> wrote:
I've spent more time on this issue, and it looks like there is no structure in InnoDB with the life time till the end of the statement (or, at least, nothing easily usable).
Would ha_innobase::m_prebuilt fill that purpose? Its scope is not exactly a statement, because ha_innobase::reset_template() will be invoked not only by ha_innobase::reset() at the end of a statement. As I can tell, it could be close enough. Marko -- Marko Mäkelä, Lead Developer InnoDB MariaDB Corporation