summaryrefslogtreecommitdiff
path: root/mysql-test/valgrind.supp
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-04-25 09:40:40 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-04-25 09:40:40 +0300
commit4faef6e2405f7a42f2f80ee9bfd9b96a5dcc74d8 (patch)
treeac2f1ab8ffd899b7497617115fa3ccba44509b80 /mysql-test/valgrind.supp
parent232af0c7bfe0ad7a9a4b199ffca59a3e2acbf48e (diff)
downloadmariadb-git-4faef6e2405f7a42f2f80ee9bfd9b96a5dcc74d8.tar.gz
Cleanup: Remove IF_VALGRIND
The purpose of the compress() wrapper my_compress_buffer() was twofold: silence Valgrind warnings about uninitialized memory access before zlib 1.2.4, and have PERFORMANCE_SCHEMA instrumentation of some zlib related memory allocation. Because of PERFORMANCE_SCHEMA, we cannot trivially replace my_compress_buffer() with compress(). az_open(): Remove a crc32() call. Any CRC of the empty string is 0.
Diffstat (limited to 'mysql-test/valgrind.supp')
-rw-r--r--mysql-test/valgrind.supp166
1 files changed, 1 insertions, 165 deletions
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp
index 1f2aa47820b..53c340ee6ec 100644
--- a/mysql-test/valgrind.supp
+++ b/mysql-test/valgrind.supp
@@ -1,5 +1,5 @@
# Copyright (c) 2005, 2015, Oracle and/or its affiliates.
-# Copyright (c) 2008, 2019, MariaDB
+# Copyright (c) 2008, 2022, MariaDB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -100,137 +100,6 @@
fun:_dl_start
}
-#
-# Warnings in libz becasue it works with aligned memory(?)
-#
-
-{
- libz tr_flush_block
- Memcheck:Cond
- fun:_tr_flush_block
- fun:deflate_slow
- fun:deflate
- fun:do_flush
- fun:gzclose
-}
-
-{
- libz tr_flush_block2
- Memcheck:Cond
- fun:_tr_flush_block
- fun:deflate_slow
- fun:deflate
- fun:compress2
-}
-
-{
- libz longest_match
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:do_flush
-}
-
-{
- libz longest_match called from btr_store_big_rec_extern_fields
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:btr_store_big_rec_extern_fields
-}
-
-{
- libz longest_match called from page_zip_compress
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:page_zip_compress
-}
-
-{
- libz longest_match2
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:compress2
-}
-
-{
- libz longest_match 3
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:gzclose
-}
-
-{
- libz longest_match 4
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:gzflush
-}
-
-{
- libz longest_match3
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:azflush
-}
-
-{
- libz longest_match3
- Memcheck:Cond
- fun:longest_match
- fun:deflate_slow
- fun:deflate
- fun:azclose
-}
-
-{
- libz deflate
- Memcheck:Cond
- obj:*/libz.so.*
- obj:*/libz.so.*
- fun:deflate
- fun:compress2
-}
-
-{
- libz deflate2
- Memcheck:Cond
- obj:*/libz.so.*
- obj:*/libz.so.*
- fun:deflate
- obj:*/libz.so.*
- fun:gzflush
-}
-
-{
- libz deflate3
- Memcheck:Cond
- obj:*/libz.so.*
- obj:*/libz.so.*
- fun:deflate
- fun:do_flush
-}
-
-{
- libz inflatereset2
- Memcheck:Cond
- fun:inflateReset2
- fun:inflateInit2_
- fun:uncompress
-}
-
#
# Warning from my_thread_init becasue mysqld dies before kill thread exists
@@ -706,39 +575,6 @@
}
{
- Bug 59874 Valgrind warning in InnoDB compression code
- Memcheck:Cond
- fun:*
- fun:*
- fun:deflate
- fun:btr_store_big_rec_extern_fields_func
- fun:row_ins_index_entry_low
- fun:row_ins_index_entry
- fun:row_ins_index_entry_step
- fun:row_ins
- fun:row_ins_step
- fun:row_insert_for_mysql
-}
-
-{
- In page0zip.c we have already checked that the memory is initialized before calling deflate()
- Memcheck:Cond
- fun:*
- fun:*
- fun:deflate
- fun:page_zip_compress
-}
-
-{
- In page0zip.c we have already checked that the memory is initialized before calling deflate()
- Memcheck:Cond
- fun:*
- fun:*
- fun:deflate
- fun:page_zip_compress_deflate
-}
-
-{
Bug 59875 Valgrind warning in buf0buddy.c
Memcheck:Addr1
fun:mach_read_from_4