mariadb/storage/innobase
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-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:48 +04:00
btr MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:48 +04:00
buf MDEV-11349 (2/2) Fix some bogus-looking Valgrind warnings 2016-11-25 12:43:43 +02:00
data Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
dict MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:48 +04:00
eval Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
fil Remove a bunch of TODO's, fix perfschema.threads_innodb test 2016-09-11 10:57:05 +02:00
fsp Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
fts Fix crash on innodb_fts.innobase_drop_fts_index_table 2016-09-14 15:11:01 +03:00
fut Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
gis Remove a bunch of TODO's, fix perfschema.threads_innodb test 2016-09-11 10:57:05 +02:00
ha Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
handler MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
ibuf MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:48 +04: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 15:17:55 +02:00
log MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:49 +04:00
mach Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
mem Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
mtr Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03: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 MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:49 +04:00
page MDEV-10727: Merge 5.7 Innochecksum with 5.6 2016-09-30 08:08:19 +03:00
pars Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
que Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
read Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
rem Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
row MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 12:43:34 +02:00
srv MDEV-11250: mtflush threads stall on shutdown 2016-11-10 09:42:49 +02:00
sync MDEV-11296 - InnoDB stalls under OLTP RW on P8 2016-11-25 12:41:35 +04:00
trx Change all space indentions to tab. 2016-10-23 13:36:26 -04:00
usr Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
ut InnoDB cleanups 2016-11-15 14:56:29 +04:00
CMakeLists.txt MDEV-11195: Simplify enablement of NUMA in innodb/xtradb 2016-11-02 14:37:43 +11:00
compile-innodb
COPYING.Google
COPYING.Percona
innodb.cmake MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:49 +04:00
plugin_exports