mariadb/storage/xtradb
Marko Mäkelä d247d64988 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:43:43 +02:00
..
api MDEV-7769 MY_CHARSET_INFO refactoring# On branch 10.2 2016-10-10 14:36:09 +04:00
btr MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
buf MDEV-11349 (2/2) Fix some bogus-looking Valgrind warnings 2016-11-25 12:43:43 +02:00
data 5.6.31-77.0 2016-08-10 19:24:58 +02:00
dict MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
dyn move to storage/xtradb 2015-05-04 19:15:28 +02:00
eval move to storage/xtradb 2015-05-04 19:15:28 +02:00
fil Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
fsp Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
fts Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
fut move to storage/xtradb 2015-05-04 19:15:28 +02:00
ha 5.6.30-76.3 2016-06-21 14:20:09 +02:00
handler MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
ibuf MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
include MDEV-11349 (2/2) Fix some bogus-looking Valgrind warnings 2016-11-25 12:43:43 +02:00
lock MDEV-10692: InnoDB: Failing assertion: lock->trx->lock.wait_lock == lock 2016-11-09 13:32:43 +02:00
log Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
mach move to storage/xtradb 2015-05-04 19:15:28 +02:00
mem 5.6.31-77.0 2016-08-10 19:24:58 +02:00
mtr Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
mysql-test/storage_engine Follow-up for MDEV-6720 (enable connection log in mysqltest by default) 2016-06-19 20:30:03 +03:00
os Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
page MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
pars Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
que 5.6.24-72.2 2015-06-16 11:04:40 +02:00
read move to storage/xtradb 2015-05-04 19:15:28 +02:00
rem Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
row MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
srv Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
sync MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
trx Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
usr move to storage/xtradb 2015-05-04 19:15:28 +02:00
ut MDEV-9872: New Power8 crc32(ieee) optimized functions 2016-08-05 11:50:46 +04:00
CMakeLists.txt MDEV-11195: Simplify enablement of NUMA in innodb/xtradb 2016-11-02 14:37:43 +11:00
COPYING.Google move to storage/xtradb 2015-05-04 19:15:28 +02:00
COPYING.Percona move to storage/xtradb 2015-05-04 19:15:28 +02:00
Doxyfile move to storage/xtradb 2015-05-04 19:15:28 +02:00
ha_innodb.def move to storage/xtradb 2015-05-04 19:15:28 +02:00