- 19 Feb, 2019 5 commits
-
-
Thirunarayanan Balathandayuthapani authored
trx_rseg_t::is_persistent(): Correct a bogus debug assertion.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
log_group_read_log_seg(): Always return false when returning before reading end_lsn. xtrabackup_copy_logfile(): On error, indicate whether a corrupt log record was encountered. Only xtrabackup_copy_logfile() in Mariabackup cared about the return value of the function. InnoDB crash recovery was not affected by this bug.
-
Monty authored
By pure chance the macro worked in the cases it was used, but better to get this fixed!
-
Vladislav Vaintroub authored
-
- 18 Feb, 2019 3 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
dict_create_foreign_constraints_low(): Clean up the way in which the error messages are initialized, and ensure that the table name is always initialized.
-
Vladislav Vaintroub authored
Fix incremental prepare to copy #rocksdb subdirectory from the incremental dir.
-
- 14 Feb, 2019 1 commit
-
-
Vladislav Vaintroub authored
The variable is obsolete. In mariabackup --backup, encryption plugin loading code sets the value this parameter to the same as in server. In mariabackup --prepare, no new redo log is generated, and xtrabackup_logfile is removed after it anyway.
-
- 13 Feb, 2019 3 commits
-
-
Jan Lindström authored
cmake/submodules: notify user about gitconfig for automatic update
-
Laurynas Biveinis authored
Co-Authored-By: grooverdan <daniel@linux.ibm.com>
-
Daniel Black authored
-
- 12 Feb, 2019 2 commits
-
-
Marko Mäkelä authored
-
Julius Goryavsky authored
Most of the mtr tests in the galera_3nodes suite fail for a variety of reasons with a variety of errors. This patch fixes several substantial flaws in the galera_3nodes suite tests and in the mtr framework service files, adapting the tests from galera_3nodes for the current version of MariaDB. This patch also synchronizes some galera_3nodes-related files with the latest changes made for MDEV-17835 (v2 patch) and for MDEV-18379 in other branches (10.2 and 10.3). Closes #1161
-
- 11 Feb, 2019 3 commits
-
-
Daniel Bartholomew authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
The code path where the table was not being rebuilt during ALTER TABLE was not covered by the test. Add coverage, and remove the debug assertion that could fail in this case.
-
- 09 Feb, 2019 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Followup for db8f0dae
-
- 08 Feb, 2019 2 commits
-
-
Oleksandr Byelkin authored
and in fef9013d
-
Sergei Golubchik authored
fixes memory leaks in restart_mysqld.inc tests
-
- 07 Feb, 2019 5 commits
-
-
Elena Stepanova authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Followup for 8f5ea83f
-
Sergei Golubchik authored
-
Jan Lindström authored
MDEV-18426: Most of the mtr tests in the galera_3nodes suite fail
-
- 06 Feb, 2019 4 commits
-
-
Sergei Golubchik authored
-
Daniel Bartholomew authored
-
Julius Goryavsky authored
Most of the mtr tests in the galera_3nodes suite fail for a variety of reasons with a variety of errors. Some tests simply need to add the missing "connection" lines to the result files, but many of them fail due to substantial errors that require reworking test files. This patch adds the missing "connection" lines to the result files and fixes several substantial flaws in the galera_3nodes suite tests and in the mtr framework service files, adapting the tests from galera_3nodes for the current version of MariaDB. https://jira.mariadb.org/browse/MDEV-18426
-
Alexey Botchkov authored
-
- 05 Feb, 2019 10 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
i_s_innodb_mutexes_fill_table(): Use the C++ RAII pattern to ensure that the mutexes are released if an OK() macro returns from the function prematurely.
-
Marko Mäkelä authored
An uninitialized buffer is passed to row_sel_store_mysql_rec() but InnoDB may not initialize everything. Looks like it's ok in most cases but not always. The partially initialized buffer was later passed to ha_innobase::write_row() which reads random NULL bit values for virtual columns and random stuff happens. No test case for MariaDB 10.2 was found. The test case for MariaDB 10.3 involves partitioning, system versioning and the TRASH_ALLOC fill pattern 0xA5. Test case depends very much on the number and layout of columns. Think about 0xA5 byte for a NULL bit mask. row_sel_store_mysql_rec(): always initialize virtual columns NULL bit Closes #1144
-
Alexey Botchkov authored
The list of table constraints doesn't include foreign keys and uniques. So we replace DROP CONSTRAINT with DROP [FOREIGN] KEY in this case.
-
Sergei Golubchik authored
MDEV-16905 ASAN heap-use-after-free in __interceptor_strnlen / ... / TABLE::verify_constraints upon INSERT into temporary table with CHECK constraint just a test case
-
Sergei Golubchik authored
MDEV-18239 ASAN use-after-poison in process_str_arg / ... / mark_unsupported_func or unexpected ER_BAD_FIELD_ERROR upon ALTER TABLE renaming columns in a CHECK constraint during ALTER TABLE taints the original TABLE and requires m_need_reopen=1. In this case, though, renaming was redundant, so just don't do it.
-
Sergei Golubchik authored
CONNECT used to compute table file path as table->s->db_name + table->s->table_name instead of using table->s->path. This was incorrect and now it breaks for temporary tables during ALTER TABLE. Temporarily "fix" it by making CONNECT to use what it always used as a table name - the last component in the table->s->path.
-
Sergei Golubchik authored
no longer needed
-
Sergei Golubchik authored
MDEV-18083 ASAN heap-use-after-free in Field::set_warning_truncated_wrong_value upon inserting into temporary table remove TABLE_SHARE::error_table_name() and TABLE_SHARE::orig_table_name (that was allocated in a wrong memroot in this bug). instead, simply set TABLE_SHARE::table_name correctly.
-
Sergei Golubchik authored
remove thd->find_temporary_table()
-