- 25 Nov, 2016 2 commits
-
-
Marko Mäkelä authored
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.)
-
Marko Mäkelä authored
In InnoDB and XtraDB functions that declare pointer parameters as nonnull, remove nullness checks, because GCC would optimize them away anyway. Use #ifdef instead of #if when checking for a configuration flag. Clang says that left shifts of negative values are undefined. So, use ~0U instead of ~0 in a number of macros. Some functions that were defined as UNIV_INLINE were declared as UNIV_INTERN. Consistently use the same type of linkage. ibuf_merge_or_delete_for_page() could pass bitmap_page=NULL to buf_page_print(), conflicting with the __attribute__((nonnull)).
-
- 24 Nov, 2016 1 commit
-
-
Alexander Barkov authored
-
- 22 Nov, 2016 2 commits
-
-
Jan Lindström authored
MDEV-10377: innodb.innodb_blob_truncate fails in buildbot: Failing assertion: page_type == 34354 || page_type == 37401 || page_type == 17855 || page_type == 2 || page_type == 3 || ... Page type FIL_PAGE_TYPE_ZBLOB2 was missing from assertion.
-
SachinSetiya authored
-
- 16 Nov, 2016 1 commit
-
-
Jan Lindström authored
Added more columns to stabilice the test case.
-
- 15 Nov, 2016 1 commit
-
-
Kristian Nielsen authored
-
- 14 Nov, 2016 1 commit
-
-
Nirbhay Choubey authored
-
- 09 Nov, 2016 1 commit
-
-
Jan Lindström authored
When we enter here wait_lock could be already gone i.e. NULL, that should be allowed.
-
- 08 Nov, 2016 1 commit
-
-
Vladislav Vaintroub authored
Building AWS C++ SDK as external project needs CMake 2.8.12 Centos7 out of the box has 2.8.11, thus the build fails. Fixed check for required CMake version.
-
- 07 Nov, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 04 Nov, 2016 4 commits
-
-
Kristian Nielsen authored
This occured when the SQL thread (but not the IO thread) stops while GTID and parallel replication are used with multiple domain ids in the GTID position, and is restarted. In this case, the SQL needs to start some way back in the relay log, applying or skipping events within each replication domain as appropriate. The SQL threads starts at the beginning of an old relay log file, and this position may be in the middle of an event group. The bug was that such partial event group could be re-applied, causing replication corruption. This patch fixes the issue, by making sure to skip any initial events that were part of an earlier (already applied) event group.
-
Elena Stepanova authored
-
Elena Stepanova authored
-
Elena Stepanova authored
-
- 03 Nov, 2016 3 commits
-
-
Nirbhay Choubey authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
- 02 Nov, 2016 12 commits
-
-
Elena Stepanova authored
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
Fixed the 'wsrep_replicate_myisam' check to allow only limited set of commands. Added a debug assert to discover such cases.
-
Nirbhay Choubey authored
Update test case.
-
Nirbhay Choubey authored
Internal updates to system statistical tables could wrongly trigger an additional total-order replication if wsrep_repli -cate_myisam is enabled. Fixed by adding a check to skip total-order replication for stat tables. Test: galera.galera_var_replicate_myisam_on
-
Nirbhay Choubey authored
thd->variables.option_bits need to be restored after plugin_thdvar_init() during post initialization of wsrep threads.
-
Nirbhay Choubey authored
-
Rik Prohaska authored
fix the tokudb_analyze_in_background_basic test to run on mariadb. mariadb does additional value checking for boolean system variables
-
Rik Prohaska authored
-
Rik Prohaska authored
MDEV-10408 run the tokudb_rpl.rpl_rfr_disable_on_expl_pk_absence test. Add control files. Fixup result file for mariadb
-
Sergei Golubchik authored
-
Alexander Barkov authored
-
- 01 Nov, 2016 1 commit
-
-
Nirbhay Choubey authored
-
- 31 Oct, 2016 3 commits
-
-
Jan Lindström authored
MDEV-11182: InnoDB: Assertion failure in file buf0buf.cc line 4730 (encryption.create_or_replace fails in buildbot and outside) Analysis: Problem is that page is encrypted but encryption information on page 0 has already being changed. Fix: If page header contains key_version != 0 and even if based on current encryption information tablespace is not encrypted we need to check is page corrupted. If it is not, then we know that page is not encrypted. If page is corrupted, we need to try to decrypt it and then compare the stored and calculated checksums to see is page corrupted or not.
-
Jan Lindström authored
-
Jan Lindström authored
-
- 30 Oct, 2016 1 commit
-
-
Jan Lindström authored
intentionally produces this error.
-
- 29 Oct, 2016 5 commits
-
-
Jan Lindström authored
-
Jan Lindström authored
-
Jan Lindström authored
Add error message when used index_id in index page is not found from configuration file.
-
Jan Lindström authored
Removed experimental from message.
-
Jan Lindström authored
Two problems: (1) When pushing warning to sql-layer we need to check that thd != NULL to avoid NULL-pointer reference. (2) At tablespace key rotation if used key_id is not found from encryption plugin tablespace should not be rotated.
-