- 24 Oct, 2016 1 commit
-
-
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>
-
- 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 14 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
-
Hartmut Holzgraefe authored
-
Sergei Golubchik authored
update info->write_end and info->write_pos together, with no "return on error" in between, otherwise write_end might end up being smaller than write_pos
-
Sergei Golubchik authored
initialize uninitialized value
-
Sergei Golubchik authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- storage/innobase/dict/dict0stats.cc - storage/xtradb/dict/dict0stats.cc
-
Sergei Petrunia authored
(Fixing both InnoDB and XtraDB) Re-opening a TABLE object (after e.g. FLUSH TABLES or open table cache eviction) causes ha_innobase to call dict_stats_update(DICT_STATS_FETCH_ONLY_IF_NOT_IN_MEMORY). Inside this call, the following is done: dict_stats_empty_table(table); dict_stats_copy(table, t); On the other hand, commands like UPDATE make this call to get the "rows in table" statistics in table->stats.records: ha_innobase->info(HA_STATUS_VARIABLE|HA_STATUS_NO_LOCK) note the HA_STATUS_NO_LOCK parameter. It means, no locks are taken by ::info() If the ::info() call happens between dict_stats_empty_table and dict_stats_copy calls, the UPDATE's optimizer will get an estimate of table->stats.records=1, which causes it to pick a full table scan, which in turn will take a lot of row locks and cause other bad consequences.
-
Vladislav Vaintroub authored
Also add fallback version string for unknown future versions.
-
- 27 Sep, 2016 9 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Vicențiu Ciorbaru authored
On OS X with clang 7.3.0 running any test as embedded crashes. As libfeedback was not compiled with embedded, we had 2 notions of THD, with different number of members. When calling inline functions defined in sql_class.h, the functions were defined for 1 THD but called on an object that is different. This resulted in erroneous data being returned and shortly after, a crash within the alloc_query() function. Recompile the feedback plugin for the embedded server specifically to not have such symbol conflicts.
-