mariadb/storage
Marko Mäkelä a68d1352b6 MDEV-11349 (2/2) Fix some bogus-looking Valgrind warnings
buf_block_init(): Initialize buf_page_t::flush_type.
For some reason, Valgrind 3.12.0 would seem to flag some
bits in adjacent bitfields as uninitialized, even though only
the two bits of flush_type were left uninitialized. Initialize
the field to get rid of many warnings.

buf_page_init_low(): Initialize buf_page_t::old.
For some reason, Valgrind 3.12.0 would seem to flag all 32
bits uninitialized when buf_page_init_for_read() invokes
buf_LRU_add_block(bpage, TRUE). This would trigger bogus warnings
for buf_page_t::freed_page_clock being uninitialized.
(The V-bits would later claim that only "old" is initialized
in the 32-bit word.) Perhaps recent compilers
(GCC 6.2.1 and clang 4.0.0) generate more optimized x86_64 code
for bitfield operations, confusing Valgrind?

mach_write_to_1(), mach_write_to_2(), mach_write_to_3():
Rewrite the assertions that ensure that the most significant
bits are zero. Apparently, clang 4.0.0 would optimize expressions
of the form ((n | 0xFF) <= 0x100) to (n <= 0x100). The redundant
0xFF was added in the first place in order to suppress a
Valgrind warning. (Valgrind would warn about comparing uninitialized
values even in the case when the uninitialized bits do not affect
the result of the comparison.)
2016-11-25 12:34:02 +02:00
..
archive Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
blackhole MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
cassandra Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
connect Merge branch '10.0-galera' into 10.1 2016-11-02 13:44:07 +01:00
csv Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
example 5.5.40+ merge 2014-10-09 10:30:11 +02:00
federated Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
federatedx Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
heap Sage cleanup in heap storage engine 2015-11-10 13:46:56 +02:00
innobase MDEV-11349 (2/2) Fix some bogus-looking Valgrind warnings 2016-11-25 12:34:02 +02:00
maria MDEV-10041: Server crashes sporadically during bootstrap while running wsrep tests 2016-09-28 13:23:31 -04:00
mroonga MDEV-9363 - Mroonga tests with datetime field fail on Solaris in buildbot 2016-07-08 23:38:05 +04:00
myisam Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
myisammrg Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
oqgraph Merge branch '10.0-galera' into 10.1 2016-11-02 13:44:07 +01:00
perfschema Merge branch '10.0' into 10.1 2016-09-28 17:55:28 +02:00
sequence test for group by pushdown with a view 2016-05-05 01:05:05 +02:00
sphinx MDEV-10985, MDEV-10986 - sphinx tests have not been maintained 2016-11-04 13:33:28 +03:00
spider revert part of 69f1a32 2016-06-22 10:23:11 +02:00
test_sql_discovery MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL 2015-09-22 14:01:54 +04:00
tokudb fix the tokudb_analyze_in_background_basic test to run on mariadb. mariadb does additional value checking for boolean system variables 2016-11-02 13:45:54 +01:00
xtradb MDEV-11349 (2/2) Fix some bogus-looking Valgrind warnings 2016-11-25 12:34:02 +02:00