- 08 Jun, 2017 1 commit
-
-
Daniel Black authored
-
- 06 Jun, 2017 6 commits
-
-
Marko Mäkelä authored
Use my_atomic for updating os_thread_count. os_thread_init(): Remove.
-
Marko Mäkelä authored
InnoDB never supported more than one copy of a redo log. There were provisions to do that. For Mariabackup, let us clean up this code. log_sys_init(): Renamed from log_init(). log_set_capacity(): Renamed from log_calc_max_ages(). log_init(): Renamed from log_group_init(). Remove the parameters id, space_id. Let the caller invoke log_set_capacity() when needed. log_group_t: Remove id, space_id, log_groups. log_t: Replace log_groups with a single log. recv_find_max_checkpoint(): Declare globally. Remove the first parameter. xtrabackup_choose_lsn_offset(): Remove (dead code).
-
Marko Mäkelä authored
MySQL WL#6835 replaced the function lock_rec_enqueue_waiting() with RecLock::enqueue() and later RecLock::add_to_waitq().
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Daniel Black authored
-
- 02 Jun, 2017 2 commits
-
-
Elena Stepanova authored
Additionally internal check was failing because the test did not restore a global value properly
-
Elena Stepanova authored
-
- 01 Jun, 2017 1 commit
-
-
Jan Lindström authored
-
- 29 May, 2017 3 commits
-
-
Marko Mäkelä authored
-
Jan Lindström authored
MDEV-12924: re-add numa to innodb
-
Daniel Black authored
Commit 3a3b3d8b overly purged the numa checks. Re-add this. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
- 26 May, 2017 13 commits
-
-
Marko Mäkelä authored
When MySQL 5.7 introduced fulltext parser plugins to InnoDB, it hard-coded the plugin name "ngram" to mean something special. Because -fsanitize=undefined was issuing warnings for the assignment in row_merge_create_index() that the value is out of range for Boolean, we remove this code that was not intended to be used in MariaDB 10.2. fts_check_token(): Remove the special logic for N-gram tokens.
-
Marko Mäkelä authored
Remove a bogus reference to gb18030_chinese_ci, which was introduced in MySQL 5.7. It is roughly equivalent to utf8mb4_unicode_ci, just using a different internal encoding, and different collation.
-
Marko Mäkelä authored
Avoid the redundant output from ut_dbg_assertion_failed by directly invoking abort().
-
Marko Mäkelä authored
ut_allocator: Move m_oom_fatal into a template parameter oom_fatal, to reduce the data and code size.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
MDEV-12926 encryption.innodb_onlinealter_encryption, encryption.innodb-bad-key-change failed in buildbot with valgrind row_merge_write(): Pass the correct (possibly encrypted) buffer to os_file_write_int_fd(). This bug was introduced in commit 65e1399e which included a commit to merge changes from MySQL 5.6.36 to MariaDB Server 10.0.
-
Marko Mäkelä authored
btr_defragment_thread(): Create the thread in the same place as other threads. Do not invoke btr_defragment_shutdown(), because row_drop_tables_for_mysql_in_background() in the master thread can still keep invoking btr_defragment_remove_table(). logs_empty_and_mark_files_at_shutdown(): Wait for btr_defragment_thread() to exit. innobase_start_or_create_for_mysql(), innobase_shutdown_for_mysql(): Skip encryption and scrubbing in innodb_read_only_mode. srv_export_innodb_status(): Do not export encryption or scrubbing statistics in innodb_read_only mode, because the threads will not be running.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
InnoDB shutdown assumes that once the server has entered SRV_SHUTDOWN_FLUSH_PHASE, no change to persistent data is allowed. It was possible for the master thread to wake up while shutdown is executing in SRV_SHUTDOWN_FLUSH_PHASE or even in SRV_SHUTDOWN_LAST_PHASE. We do not yet know if further crashes at shutdown are possible. Also, we do not know if all the observed crashes could be explained by the race conditions that we are now fixing. srv_shutdown_print_master_pending(): Remove a redundant ut_time() call. srv_shutdown(): Renamed from srv_master_do_shutdown_tasks(). srv_master_thread(): Do not resume after shutdown has been initiated.
-
- 24 May, 2017 10 commits
-
-
Elena Stepanova authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Don't rebuild the table for ALTER TABLE delay_key_write changes. After that, delay_key_write value in .frm may differ from the value in .MYI. We'll do what .frm says.
-
Sergei Golubchik authored
Test fails, because of a bug: global delay_key_write is cached in the THD and the cached value becomes out-of-date when the global value changes. This is fixed in MDEV-11335
-
Sergei Golubchik authored
cast pointer(64)->long(32)
-
Sergei Golubchik authored
Make `mysqladmin --local` use `FLUSH LOCAL` for all flush-* commands, and only do `SET SQL_LOG_BIN=OFF` for create/drop/old_password/password. Additionally, --local is ignored for all commands that never write to binlog, so e.g. `mysqladmin --local version` no longer needs SUPER
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-11650 plugins.cracklib_password_check, plugins.two_password_validations fail in buildbot with valgrind (Conditional jump or move depends on uninitialised value)
-
Sergei Golubchik authored
FederatedX wasn't discovering prefix keys correctly. Of course, as it had the HA_NO_PREFIX_CHAR_KEYS table_flag set...
-
Sergei Golubchik authored
fixed valgrind warning in a debug output
-
- 23 May, 2017 4 commits
-
-
Marko Mäkelä authored
Before MDEV-6812, it did not matter that merge_files[].offset was uninitialized when no files were created. This problem was introduced in MDEV-6812. There could be a user-visible impact that the progress reports spit into the error log are bogus. row_merge_build_indexes(): Initialize merge_files[i].offset.
-
Daniel Bartholomew authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
As documented in MSDN, DeviceIoControl() needs valid (not NULL) OVERLAPPED parameter, for files opened with for OVERLAPPED access.
-