summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-17441 - InnoDB transition to C++11 atomicsbb-10.4-MDEV-17441Sergey Vojtovich2019-01-0911-522/+222
| | | | | Simplified mutex code. MutexDebug uses OSMutex instead of atomic operations now.
* MDEV-18160/MDEV-18162 Assertion failure or crash after DROP COLUMNMarko Mäkelä2019-01-083-4/+50
| | | | | | | dict_table_t::instant_column(): Correctly compute the value of metadata_changed. The original computation in commit 003720755f44e4a17cc5ef952ae2af85b1eb778d would essentially invoke memcmp(x,x,y), which can only return 0.
* MDEV-17441 - InnoDB transition to C++11 atomicsSergey Vojtovich2019-01-077-104/+39
| | | | buf_page_t::buf_fix_count transition to Atomic_counter.
* MDEV-17441 - InnoDB transition to C++11 atomicsSergey Vojtovich2019-01-077-72/+22
| | | | | | | Replaced srv_fatal_semaphore_wait_threshold juggling with btr_validate_index_running counter. Removed last argument of btr_validate_index(): always false. Simplified away btr_validate_spatial_index().
* Fix test result differencesMarko Mäkelä2019-01-0710-3/+608
|
* Merge 10.3 into 10.4Marko Mäkelä2019-01-06155-2618/+2047
|\
| * Updated list of unstable tests for 10.3.12 releasemariadb-10.3.12Elena Stepanova2019-01-041-109/+104
| |
| * Fix the location of test filesElena Stepanova2019-01-042-0/+0
| |
| * Disable a test that is failing very often.Vladislav Vaintroub2019-01-041-0/+1
| |
| * Merge 10.2 into 10.3Marko Mäkelä2019-01-041-2/+2
| |\
| | * Fix a merge error in the parent commitMarko Mäkelä2019-01-041-2/+2
| | | | | | | | | | | | | | | Fix an inadvertently inverted condition that caused galera.galera_sst_mariabackup_table_options test failure.
| * | Merge 10.2 into 10.3Marko Mäkelä2019-01-033-9/+28
| |\ \ | | |/
| | * Merge 10.1 into 10.2Marko Mäkelä2019-01-033-9/+28
| | |\
| | | * MDEV-18129 Backup fails for encrypted tables: mariabackup: Database page ↵Marko Mäkelä2019-01-033-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | corruption detected at page 1 If an encrypted table is created during backup, then mariabackup --backup could wrongly fail. This caused a failure of the test mariabackup.huge_lsn once on buildbot. This is due to the way how InnoDB creates .ibd files. It would first write a dummy page 0 with no encryption information. Due to this, xb_fil_cur_open() could wrongly interpret that the table is not encrypted. Subsequently, page_is_corrupted() would compare the computed page checksum to the wrong checksum. (There are both "before" and "after" checksums for encrypted pages.) To work around this problem, we introduce a Boolean option --backup-encrypted that is enabled by default. With this option, Mariabackup will assume that a nonzero key_version implies that the page is encrypted. We need this option in order to be able to copy encrypted tables from MariaDB 10.1 or 10.2, because unencrypted pages that were originally created before MySQL 5.1.48 could contain nonzero garbage in the fields that were repurposed for encryption. Later, MDEV-18128 would clean up the way how .ibd files are created, to remove the need for this option. page_is_corrupted(): Add missing const qualifiers, and do not check space->crypt_data unless --skip-backup-encrypted has been specified. xb_fil_cur_read(): After a failed page read, output a page dump.
| * | | "fix" sequence.temporary testSergei Golubchik2019-01-031-1/+1
| | | |
| * | | Merge branch '10.2' into 10.3Sergei Golubchik2019-01-03125-608/+1578
| |\ \ \ | | |/ /
| | * | Merge branch '10.1' into 10.2Sergei Golubchik2019-01-0314-6/+6
| | |\ \ | | | |/
| | | * Merge branch '10.0' into 10.1Sergei Golubchik2019-01-0314-6/+6
| | | |\
| | | | * Merge branch '5.5' into 10.0Sergei Golubchik2019-01-032-4/+4
| | | | |\
| | | | | * fix the test for 2019Sergei Golubchik2019-01-022-4/+4
| | | | | |
| | | | * | fix RHEL8 "ambiguous python shebang" build failuresSergei Golubchik2019-01-0210-0/+0
| | | | | |
| | | | * | compilation warning on WindowsSergei Golubchik2019-01-022-2/+2
| | | | | |
| | * | | | fix RHEL8 "ambiguous python shebang" build failuresSergei Golubchik2019-01-034-2/+7
| | | | | |
| | * | | | compilation warning on windowsSergei Golubchik2019-01-031-2/+2
| | | | | |
| | * | | | fix debian builds for cosmicSergei Golubchik2019-01-031-1/+1
| | | | | |
| | * | | | bump the VERSIONDaniel Bartholomew2019-01-021-1/+1
| | | | | |
| | * | | | Merge branch '10.1' into 10.2mariadb-10.2.21Sergei Golubchik2018-12-3029-103/+274
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-12-2930-104/+284
| | | |\ \ \ | | | | |/ /
| | | | * | MDEV-18041 Database corruption after renaming a prefix-indexed columnEugene Kosov2018-12-294-28/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a regression after MDEV-13671. The bug is related to key part prefix lengths wich are stored in SYS_FIELDS. Storage format is not obvious and was handled incorrectly which led to data dictionary corruption. SYS_FIELDS.POS actually contains prefix length too in case if any key part has prefix length. innobase_rename_column_try(): fixed prefixes handling Tests for prefixed indexes added too. Closes #1063
| | | | * | row_drop_table_for_mysql(): Correct a parameter to innobase_format_name()Marko Mäkelä2018-12-282-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression that was introduced in MySQL 5.6.6 in an error handling code path, in the following change: commit 024f363d6b5f09b20d1bba411af55be95c7398d3 Author: kevin.lewis@oracle.com <> Date: Fri Jun 15 09:01:42 2012 -0500 Bug #14169459 INNODB; DROP TABLE DOES NOT DELETE THE IBD FILE FOR A TEMPORARY TABLE.
| | | | * | Merge branch '5.5' into 10.0Sergei Golubchik2018-12-208-56/+43
| | | | |\ \ | | | | | |/
| | | | | * MDEV-15670 - unit.my_atomic failed in buildbot with Signal 11 thrownSergey Vojtovich2018-12-184-46/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Workaround glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20116 by making unittest threads joinable. It makes code better anyway.
| | | | | * Don't default to bundled zlibSergei Golubchik2018-12-171-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts part of c54271723c6
| | | | | * MDEV-16987 - ALTER DATABASE possible in read-only modeSergey Vojtovich2018-12-133-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | Forbid ALTER DATABASE under read_only.
| | | | * | MDEV-17720 slave_ddl_exec_mode=IDEMPOTENT does not handle DROP DATABASESachin2018-12-193-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | Relevant if exists flag are added for create database and drop database.
| | | | * | MDEV-17589: Stack-buffer-overflow with indexed varchar (utf8) fieldbb-10.0-varunVarun Gupta2018-12-196-7/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new constant MAX_DATA_LENGTH_FOR_KEY. Replace the value of MAX_KEY_LENGTH to also include the LENGTH and NULL BYTES of a field.
| | | | * | Backported MDEV-11196(e4d10e09cf31) and MDEV-10360(8a8ba1949bf4) to 10.0Varun Gupta2018-12-193-5/+244
| | | | | |
| | | | * | MDEV-6453: Assertion `inited==NONE || (inited==RND && scan)' failed in ↵Varun Gupta2018-12-163-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handler::ha_rnd_init(bool) with InnoDB, joins, AND/OR conditions The inited parameter handler is not initialised when we do a quick_select after a table scan.
| | | | * | remove unsed variableSergei Golubchik2018-12-131-4/+0
| | | | | |
| | * | | | Merge 10.1 into 10.2Marko Mäkelä2018-12-292-4/+14
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-18105 Mariabackup fails to copy encrypted InnoDB system tablespace if ↵Marko Mäkelä2018-12-292-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSN>4G This is a regression caused by commit 8c43f963882a9d5ac4e4289c8dd3dbcaeb40a0ce that was part of the MDEV-12112 fixes. page_is_corrupted(): Never interpret page_no=0 as encrypted.
| | * | | | Merge 10.1 into 10.2Marko Mäkelä2018-12-293-15/+27
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-17470: Fix the test for --embeddedMarko Mäkelä2018-12-292-15/+16
| | | | | |
| | | * | | Silence LeakSanitizer by default in mariabackup, so that phanthom "leaks"Vladislav Vaintroub2018-12-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | would not hide more interesting information, like invalid memory accesses. some "leaks" are expected - partly this is due to weird options parsing, that runs twice, and does not free memory after the first run. - also we do not mind to exit() whenever it makes sense, without full cleanup.
| | * | | | Merge 10.1 into 10.2Marko Mäkelä2018-12-285-25/+82
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-17470 Orphan temporary files after interrupted ALTER cause InnoDB: ↵Eugene Kosov2018-12-284-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Operating system error number 17 and eventual fatal error 71 Orphan #sql* tables may remain after ALTER TABLE was interrupted by timeout or KILL or client disconnect. This is a regression caused by MDEV-16515. Similar to temporary tables (MDEV-16647), we had better ignore the KILL when dropping the original table in the final part of ALTER TABLE. Closes #1020
| | | * | | Grammatical errors of README-wsrep fixed. (#915)Rakshit Kumar2018-12-221-17/+17
| | | | | | | | | | | | | | | | | | Docs grammar fixed
| | * | | | Fix a trivial (and harmless) merge errorSergei Petrunia2018-12-261-1/+0
| | | | | |
| | * | | | bump the VERSIONDaniel Bartholomew2018-12-241-1/+1
| | | | | |
| | * | | | Add forgotten .opt file.mariadb-10.2.20Vladislav Vaintroub2018-12-211-0/+1
| | | | | |