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

Added asan options to mysql-test-run

- Leak detection is now enabled by default
- Also added to mysql-test suppression files for asan and lsan
This commit is contained in:
Monty
2019-08-15 23:42:07 +03:00
committed by Sergei Golubchik
parent 97dd057702
commit d90fa9ad28
13 changed files with 86 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ variable_name not in (
'in_predicate_conversion_threshold',
'have_openssl',
'have_symlink',
'have_sanitizer',
'hostname',
'large_files_support', 'log_tc_size',
'lower_case_file_system',
@@ -4654,6 +4655,7 @@ from information_schema.system_variables
where variable_name in (
'have_openssl',
'have_symlink',
'have_sanitizer',
'hostname',
'large_files_support',
'lower_case_file_system',
@@ -4679,6 +4681,16 @@ NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST NULL
READ_ONLY YES
COMMAND_LINE_ARGUMENT NULL
VARIABLE_NAME HAVE_SANITIZER
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE VARCHAR
VARIABLE_COMMENT If the server is compiled with ASan (Address sanitizer) this will be set to YES, otherwise will be set to NO
NUMERIC_MIN_VALUE NULL
NUMERIC_MAX_VALUE NULL
NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST NULL
READ_ONLY YES
COMMAND_LINE_ARGUMENT NULL
VARIABLE_NAME HAVE_SYMLINK
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE VARCHAR

View File

@@ -11,6 +11,7 @@ variable_name not in (
'in_predicate_conversion_threshold',
'have_openssl',
'have_symlink',
'have_sanitizer',
'hostname',
'large_files_support', 'log_tc_size',
'lower_case_file_system',
@@ -5746,6 +5747,7 @@ from information_schema.system_variables
where variable_name in (
'have_openssl',
'have_symlink',
'have_sanitizer',
'hostname',
'large_files_support',
'lower_case_file_system',
@@ -5771,6 +5773,16 @@ NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST NULL
READ_ONLY YES
COMMAND_LINE_ARGUMENT NULL
VARIABLE_NAME HAVE_SANITIZER
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE VARCHAR
VARIABLE_COMMENT If the server is compiled with ASan (Address sanitizer) this will be set to YES, otherwise will be set to NO
NUMERIC_MIN_VALUE NULL
NUMERIC_MAX_VALUE NULL
NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST NULL
READ_ONLY YES
COMMAND_LINE_ARGUMENT NULL
VARIABLE_NAME HAVE_SYMLINK
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE VARCHAR