- 14 Feb, 2019 1 commit
-
-
Oleksandr Byelkin authored
-
- 12 Feb, 2019 6 commits
-
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
-
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 7 commits
-
-
Daniel Bartholomew authored
-
Andrei Elkin authored
-
Marko Mäkelä authored
When importing a tablespace, we must initialize dummy DEFAULT NULL values for any instantly added columns in order to avoid a debug assertion failure when PageConverter::update_records() invokes rec_get_offsets(). Finally, when the operation completes, we must evict and reload the table definition, so that the correct default values for instantly added columns will be loaded. ha_innobase::discard_or_import_tablespace(): On successful IMPORT TABLESPACE, evict and reload the table definition, so that btr_cur_instant_init() will load the correct metadata. PageConverter::update_index_page(): Fill in dummy DEFAULT NULL values for instantly added columns. These will be replaced upon the completion of the operation by evicting and reloading the metadata. row_discard_tablespace(): Invoke dict_table_t::remove_instant(). After DISCARD TABLESPACE, the table is no longer in "instant ALTER" format, because there is no data file attached.
-
Marko Mäkelä authored
-
Marko Mäkelä 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 8 commits
-
-
Elena Stepanova authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Followup for 8f5ea83f
-
Andrei Elkin authored
-
Andrei Elkin authored
-
Oleksandr Byelkin authored
-
Sergei Golubchik authored
-
Jan Lindström authored
MDEV-18426: Most of the mtr tests in the galera_3nodes suite fail
-
- 06 Feb, 2019 9 commits
-
-
Sergei Golubchik authored
-
Monty authored
- Fixes building with galera and tokudb - Added support for --without-wsrep BUILD script option
-
Monty authored
- Backport from 10.4
-
Monty authored
-
Monty 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
-
Daniel Black authored
According to close(2) "Retrying the close() after a failure return is the wrong thing to do" Corrects 5c81cb88 in MDEV-15635
-
- 05 Feb, 2019 5 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
-