- 01 Jul, 2019 5 commits
-
-
Thirunarayanan Balathandayuthapani authored
Changed the debug insert inside fil_io() to check whether it writes the page to wrong offset only for user tablespace.
-
Thirunarayanan Balathandayuthapani authored
- log_crypt_init() should be called from create_log_files(). Because it should re-create the new random nonce compared to the old ones.
-
Marko Mäkelä authored
The test innodb.leaf_page_corrupted_during_recovery fails on buildbot with Warning 1406 Data too long for column 'line' at row 10 line len 16384; hex ... because of a page dumps that InnoDB is generating for a corrupted page Since this test is using debug instrumentation, we will solve the issue by disabling page dumps in debug builds altogether. Users of debug builds will likely know how to extract page dumps in other means. Page dump output could sometimes be useful when diagnosing problems that users are facing. Hence we will keep the page dump output in non-debug (release) builds.
-
Thirunarayanan Balathandayuthapani authored
MDEV-19914 Server startup fails while dropping garbage encrypted tablespace if innodb_encryption_threads > 0 - Avoiding accessing encryption thread mutex before initiating the encryption threads
-
Thirunarayanan Balathandayuthapani authored
- Ported mysql Bug#20597981 test case to mariadb-10.2 - InnoDB never used fts_doc_id_in_read_set. Basically it tells innodb to read the fts_doc_id from the index record itself.
-
- 28 Jun, 2019 2 commits
-
-
Thirunarayanan Balathandayuthapani authored
- Introduce a new variable called innodb_encrypt_temporary_tables which is a boolean variable. It decides whether to encrypt the temporary tablespace. - Encrypts the temporary tablespace based on full checksum format. - Introduced a new counter to track encrypted and decrypted temporary tablespace pages. - Warnings issued if temporary table creation has conflict value with innodb_encrypt_temporary_tables - Added a new test case which reads and writes the pages from/to temporary tablespace.
-
Thirunarayanan Balathandayuthapani authored
Added the condition in innochecksum tool to check page id mismatch. This could catch the write corruption caused by InnoDB. Added the debug insert inside fil_io() to check whether it writes the page to wrong offset.
-
- 27 Jun, 2019 4 commits
-
-
Monty authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Marko Mäkelä authored
A fix in MySQL 5.7.6 was not completely merged to MariaDB: Bug#19419026 WHEN A TABLESPACE IS NOT FOUND, DO NOT REPORT "TABLE NOT FOUND"
-
- 26 Jun, 2019 1 commit
-
-
Vlad Lesin authored
Decrease array on stack in open_or_create_log_file() to avoid stack overflow.
-
- 25 Jun, 2019 2 commits
-
-
Monty authored
The problem was that the code in maria_extra assumed that there could be only one table open when doing maria_extra(MA_FORCE_REOPEN) However in the case of triggers, there can be multiple copies of the table open. Fixed by removing assert.
-
Marko Mäkelä authored
This was accidentally broken in the parent commit.
-
- 24 Jun, 2019 2 commits
-
-
Marko Mäkelä authored
Also, move part of the test back to innodb.innodb_mysql and another part to a new test innodb.purge. Last but not least, merge the tests innodb_zip.4k and innodb_zip.8k to innodb_zip.page_size.
-
Marko Mäkelä authored
-
- 23 Jun, 2019 1 commit
-
-
Eugene Kosov authored
-
- 21 Jun, 2019 3 commits
-
-
Sergei Petrunia authored
-
Vladislav Vaintroub authored
-
Sergei Petrunia authored
-
- 20 Jun, 2019 4 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
MariaDB doesn't support Read-Free replication, so showing them only causes confusion. Removed variables: - @@rocksdb_read_free_rpl - @@rocksdb_read_free_rpl_tables
-
Eugene Kosov authored
-
- 19 Jun, 2019 3 commits
-
-
Jan Lindström authored
-
Oleksandr Byelkin authored
Check FILE privelege.
-
Eugene Kosov authored
Colors possibility auto detected. [ such ] stuff is colored. Patch by Sergei Golubchik
-
- 18 Jun, 2019 2 commits
-
-
Michael Widenius authored
The test cases for the MDEV found several independent bugs in MariaDB server and Aria: - If a temporary table was marked as crashed, it could never be deleted. - Opening of a crashed temporary table gave an error message but the error was never forwarded to the caller which caused an assert() in my_ok() - init_read_record() did mmap of all temporary tables, which is probably not a good idea as this area can potentially be very big. Changed code to only mmap internal temporary tables. - mmap-ed tables where not unmapped in case of repair/optimize which caused bad data in table and crashes if the original table files where replaced with new ones (as the old mmap was still in place). Fixed by removing the mmap in case of repair. - Cleaned up usage of code that disabled mmap in Aria
-
Michael Widenius authored
Problem was that in case of implicit rollback for alter table Aria did try to run commit twice. The test case for this is tricky to do in 10.2, so it will be added to 10.4 as part of BACKUP STAGE testing.
-
- 17 Jun, 2019 5 commits
-
-
Igor Babaev authored
in where clause The classes Item_func_isnottrue and Item_func_isnotfalse inherited the implementation of the eval_not_null_tables method from the Item_func class. As a result the not_null_tables_cache was set incorrectly for the objects of these classes. It led to improper conversion of outer joins to inner joins when the where clause of the processed query contained IS NOT TRUE or IS NOT FALSE predicates. The coverted query in many cases produced a wrong result set.
-
Vladislav Vaintroub authored
Do not check my_errno before it is set, check errno instead. Also, do not check errno, if prior pread() did not fail.
-
Vladislav Vaintroub authored
Restore the detection of default charset in command line utilities. It worked up to 10.1, but was broken by Connector/C. Moved code for detection of default charset from sql-common/client.c to mysys, and make command line utilities to use this code if charset was not specified on the command line.
-
Vladislav Vaintroub authored
-
Michael Widenius authored
There was two separate problems: - Aria pagecache didn't properly handle re-reading of blocks that have given errors before (this triggered an assert) - temporary tables that where opened several times where not properly closed in ALTER, REPAIR or OPTIMIZE table Other things - Added a couple of asserts that will make it easier to find problems like this in the future.
-
- 16 Jun, 2019 6 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- Don't add DZSTD_STATIC_LINKING_ONLY - Don't use upstream's way of linking with Jemalloc (MyRocks/MariaDB has its own in build_rocksdb.cmake) - Don't depend on libunwind
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
MariaDB generates both errors and warnings. Warnings are not normally visible when errors are also produced.
-
Sergei Petrunia authored
-