mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-14959: Control over memory allocated for SP/PS
The final touch to fixing memory leaks for PS/SP. This patch turns on by default the option WITH_PROTECT_STATEMENT_MEMROOT in order to build server with memory leaks detection mechanism switched on.
This commit is contained in:
parent
811614d412
commit
00862b688c
1 changed files with 1 additions and 5 deletions
|
@ -192,11 +192,7 @@ ELSE()
|
|||
ENDIF()
|
||||
|
||||
|
||||
IF("${MYSQL_NO_DASH_VERSION}" VERSION_LESS 11.2)
|
||||
SET(MEMPROTECT_DEFAULT ON)
|
||||
ELSE()
|
||||
SET(MEMPROTECT_DEFAULT OFF)
|
||||
ENDIF()
|
||||
SET(MEMPROTECT_DEFAULT ON)
|
||||
|
||||
OPTION(WITH_PROTECT_STATEMENT_MEMROOT "Enable protection of statement's memory root after first SP/PS execution. Turned into account only for debug build"
|
||||
${MEMPROTECT_DEFAULT})
|
||||
|
|
Loading…
Reference in a new issue