- 29 Oct, 2016 2 commits
-
-
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.
-
Jan Lindström authored
MDEV-10394: Innodb system table space corrupted Analysis: After we have read the page in buf_page_io_complete try to find if the page is encrypted or corrupted. Encryption was determined by reading FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION field from FIL-header as a key_version. However, this field is not always zero even when encryption is not used. Thus, incorrect key_version could lead situation where decryption is tried to page that is not encrypted. Fix: We still read key_version information from FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION field but also check if tablespace has encryption information before trying encrypt the page.
-
- 28 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
AWS C++ SDK always defaults region to us-east-1 for clientConfiguration (ignoring config file or env.variable) This patch introduces a plugin variable 'region' to make it usable for master keys created in regions other than 'us-east-1'.
-
- 26 Oct, 2016 1 commit
-
-
Jan Lindström authored
A few fixes for VATS in 10.1
-
- 25 Oct, 2016 1 commit
-
-
sensssz authored
-
- 24 Oct, 2016 6 commits
-
-
Jan Lindström authored
Follow-up: Make sure we do not reference NULL-pointer when space is being dropped and does not contain any nodes.
-
Jan Lindström authored
MDEV-11039 - Add new scheduling algorithm for reducing tail latencies
-
Jan Lindström authored
tablespace but page0 is not yet read.
-
Jan Lindström authored
Check that index has pages before using number of pages in divide operation.
-
Jan Lindström authored
Remove unnecessary semicolons
-
Hyeonseok Oh authored
-
- 23 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
This reverts commit de5646f1.
-
- 22 Oct, 2016 2 commits
-
-
Vladislav Vaintroub authored
The changes are deliberately kept minimal - some functions are made global instead of static (they will be used in xtrabackup later on) - functions got additional parameter, deliberately unused for now : fil_load_single_tablespaces srv_undo_tablespaces_init - Global variables added, also unused for now : srv_archive_recovery srv_archive_recovery_limit_lsn srv_apply_log_only srv_backup_mode srv_close_files - To make xtrabackup link with sql.lib on Windows, added some missing source files to sql.lib - Fixed os_thread_ret_t to be DWORD on Windows
-
Vladislav Vaintroub authored
-
- 19 Oct, 2016 2 commits
-
-
Elena Stepanova authored
test_bug14169 was setting session group_concat_max_len=1024 and did not clean it up. Because of that test_ps_query_cache, when run with group-concat-max-len != 1024, had different values in connections, and was inserting into query cache when a hit was expected. Fixed by adding a clean-up for the value in test_bug14169
-
Elena Stepanova authored
-
- 16 Oct, 2016 1 commit
-
-
Kristian Nielsen authored
-
- 14 Oct, 2016 1 commit
-
-
Kristian Nielsen authored
The function apply_event_and_update_pos() is called with the rli->data_lock mutex held. However, there seems to be nothing in the function actually needing the mutex to be held. Certainly not in the parallel replication case, where sql_slave_skip_counter is always 0 since the non-zero case is handled by the SQL driver thread. So this patch makes parallel replication use a variant of apply_event_and_update_pos() without the need to take the rli->data_lock mutex. This avoids one contended global mutex for each event executed, which might improve performance on CPU-bound workloads somewhat. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
-
- 13 Oct, 2016 3 commits
- 12 Oct, 2016 4 commits
- 10 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
filesystem case sensitivity. Hostname can include characters, which are invalid for use as filename, thus case sensitivity test will fail to produce meaningful results.
-
- 30 Sep, 2016 2 commits
-
-
Daniel Bartholomew authored
-
Jan Lindström authored
Test crashes server intentionally, need to be prepared for crash recovery and database page corruption.
-
- 29 Sep, 2016 6 commits
-
-
Nirbhay Choubey authored
Postfix: The pre-initialization of wsrep threads is not needed for mysqldump sst method.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
when they're not needed anymore. Helps when daemonizing it from mysql.init
-
- 28 Sep, 2016 6 commits
-
-
Vladislav Vaintroub authored
Fixed the remaining failing test case in 10.1
-
Oleksandr Byelkin authored
MDEV-10716: Assertion `real_type() != FIELD_ITEM' failed in Item_ref::build_equal_items(THD*, COND_EQUAL*, bool, COND_EQUAL**) Degenerated condition in AND should be treated in the same way as in WHERE/HAVING alone (i.e reference should be processed as well as fields)
-
Nirbhay Choubey authored
When a BF thread attempts to abort a victim thread's transaction, the victim thread is not locked and thus its not safe to rely on its data structures like htons registered for the trx. So, instead of getting the registered htons from victim, innodb's hton can be looked up directly from installed_htons[] and used to abort the transaction. (Same technique is used in older versions)
-
Nirbhay Choubey authored
Perform a post initialization of plugin-related variables of wsrep threads after their global counterparts have been initialized.
-
Nirbhay Choubey authored
The crash is caused due to a race condition where wsrep startup threads invoke ha_maria::implicit_commit() method while maria_hton is partially initialized. The fix is to skip this method if plugins are uninitialized.
-
Nirbhay Choubey authored
-