1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-16470: switch off user variables (and fixes of its support)

This commit is contained in:
Oleksandr Byelkin
2020-06-11 23:12:48 +02:00
parent 8ec21afc8e
commit 82f3ceed12
13 changed files with 88 additions and 72 deletions

View File

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