1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-16470 - Session user variables tracker

Based on contribution by Dapeng Huang.
This commit is contained in:
Sergey Vojtovich
2019-06-20 18:02:40 +04:00
parent ad77e3ac09
commit f5c3ad1913
16 changed files with 141 additions and 21 deletions

View File

@ -1750,6 +1750,7 @@ THD::~THD()
/* trick to make happy memory accounting system */
#ifndef EMBEDDED_LIBRARY
session_tracker.sysvars.deinit();
session_tracker.user_variables.deinit();
#endif //EMBEDDED_LIBRARY
if (status_var.local_memory_used != 0)