1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

-- Suppress the GetPlug function causing memory leak

modified:   storage/connect/ha_connect.h
  modified:   storage/connect/ha_connect.cc

-- Trace work storage allocation and freeing in DEVELOPMENT mode
   (Fix a compile error)
  modified:   storage/connect/plugutil.cpp
This commit is contained in:
Olivier Bertrand
2017-07-22 00:21:59 +02:00
parent 6fdd5cda6a
commit 3329fbae19
3 changed files with 36 additions and 25 deletions

View File

@@ -185,7 +185,7 @@ int PlugExit(PGLOBAL g)
if (g->Sarea) {
#if !defined(DEVELOPMENT)
if (trace) {
if (trace)
#endif
htrc("Freeing Sarea at %p size=%d\n", g->Sarea, g->Sarea_Size);