summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* recv_recover_page(): Remove recv_addr lookup10.2-MDEV-12699Marko Mäkelä2019-04-041-64/+58
|
* Clean up recv_recover_page() furtherMarko Mäkelä2019-04-041-18/+7
|
* recv_recover_page(): Clean up the interfaceMarko Mäkelä2019-04-043-84/+72
|
* Clear after recoveryMarko Mäkelä2019-04-041-0/+4
|
* Revert a diagnostic patchMarko Mäkelä2019-04-041-7/+1
|
* Fewer recv_sys->mutex operationsMarko Mäkelä2019-04-042-64/+81
|
* Clean up the test caseMarko Mäkelä2019-04-042-39/+27
|
* recv_addr_state: Add RECV_WILL_NOT_READMarko Mäkelä2019-04-041-32/+34
|
* Fix race conditionsMarko Mäkelä2019-04-042-55/+60
|
* More cleanupMarko Mäkelä2019-04-041-30/+22
|
* Cleanup: mlog_reset_t mlog_resetMarko Mäkelä2019-04-041-80/+64
|
* Merge 10.2 into HEADMarko Mäkelä2019-04-0485-649/+403
|\
| * Merge 10.1 into 10.2Marko Mäkelä2019-04-0411-5/+34
| |\
| | * index_merge_innodb did sometimes give wrong resultsMonty2019-04-048-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | Fixed by adding more rows to a table Other things: - Speed up index_merge tests 20% by adding begin/commit around loops that generated rows.
| | * Fix clang -Wunused-private-fieldMarko Mäkelä2019-04-033-5/+1
| | |
| * | Do not pass table_name_t to printf-like functionsMarko Mäkelä2019-04-046-12/+12
| | |
| * | MDEV-18836: Adjust a suppressionMarko Mäkelä2019-04-031-1/+1
| | | | | | | | | | | | | | | Normally, InnoDB will create temporary table names of the form #sql-ibNNNN, and with innodb_safe_truncate=OFF, #sql-ibNNNN-MMMM.
| * | Fix the non-debug buildMarko Mäkelä2019-04-031-2/+2
| | |
| * | Merge 10.1 into 10.2Marko Mäkelä2019-04-034-4/+0
| |\ \ | | |/
| | * Remove unused declarationsMarko Mäkelä2019-04-039-63/+1
| | |
| | * Fix more -Wnonnull-compareMarko Mäkelä2019-04-032-2/+0
| | | | | | | | | | | | For some reason, GCC 8 did not issue warnings for all such comparisons.
| * | MDEV-18733 MariaDB slow start after crash recoveryMarko Mäkelä2019-04-0320-181/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If InnoDB crash recovery was needed, the InnoDB function srv_start() would invoke extra validation, reading something from every InnoDB data file. This should be unnecessary now that MDEV-14717 made RENAME operations crash-safe inside InnoDB (which can be disabled in MariaDB 10.2 by setting innodb_safe_truncate=OFF). dict_check_sys_tables(): Skip tables that would be dropped by row_mysql_drop_garbage_tables(). Perform extra validation only if innodb_safe_truncate=OFF, innodb_force_recovery=0 and crash recovery was needed. dict_load_table_one(): Validate the root page of the table. In this way, we can deny access to corrupted or mismatching tables not only after crash recovery, but also after a clean shutdown.
| * | Remove a useless CHECK TABLE printout for debug buildsMarko Mäkelä2019-04-031-7/+0
| | |
| * | Clean up table_name_tMarko Mäkelä2019-04-037-81/+46
| | | | | | | | | | | | | | | | | | | | | row_is_mysql_tmp_table_name(): Replaced with dict_table_t::is_temporary_name() and table_name_t::is_temporary(). table_name_t: Add constructors.
| * | MDEV-11487: Remove dict_table_get_n_sys_cols()Marko Mäkelä2019-04-036-23/+13
| | | | | | | | | | | | | | | | | | In MariaDB, InnoDB tables will always contain DATA_N_SYS_COLS = 3 columns, 2 or 3 of which are present in the clustered index. We remove the predicate that was added in MySQL 5.7 as part of WL#7682.
| * | Merge 10.1 into 10.2Marko Mäkelä2019-04-0340-334/+102
| |\ \ | | |/
| | * Fix -Wnonnull-compareMarko Mäkelä2019-04-0334-321/+48
| | | | | | | | | | | | | | | InnoDB and XtraDB had redundant assertions for checking that function parameters that were declared as nonnull were not NULL.
| | * MDEV-18298 Crashes server with segfault during role grantsSergei Golubchik2019-04-023-1/+53
| | | | | | | | | | | | | | | it was supposed to be `*(p-1)` not `*p-1` (the crash happens if `*p==0`)
| | * cmake: only search for libraries that are neededSergei Golubchik2019-04-021-2/+2
| | | | | | | | | | | | | | | | | | in particular, don't search for libjemalloc.a, which is only needed for tokudb's ftcxx tests, when the tests aren't going to be built.
| | * cmake: fix krb5 detection on SUSESergei Golubchik2019-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `zypper install krb5-devel` installs executables outside of $PATH. It also installs /etc/profile.d/krb5.sh that is sourced by a new shell to add the new location to the $PATH. But this doesn't affect the current shell. Now decent Linux distros remind the user to run `. /etc/profile` to reload paths in such a case. SUSE doesn't and for a good reason - it doesn't work there. Because SUSE sets PROFILEREAD=true in the environment and /etc/profile does not do anything. By this point, one should not really expect `unset PROFILEREAD` to help, and it does not - PROFILEREAD is readonly, and cannot be unset. Apparently SUSE really *really* wants you to re-login between installing MariaDB build dependencies and actually running the rpmbuild. Which we cannot do it buildbot. And it would look very user-un-friendly in the Build Instructions section of the manual. So, we work around it - by adding SUSE krb5 path to the search list. THIS IS SUSEEEEEE!!!
| | * speedup RPM buildsSergei Golubchik2019-04-021-0/+2
| | | | | | | | | | | | | | | Filter out most common file types from automatic dependency collection. This makes `make package` in centos73 VM three times faster
| * | MDEV-19085: Remove a bogus debug assertionMarko Mäkelä2019-04-023-1/+18
| | | | | | | | | | | | | | | MariaDB does support InnoDB tables with no stored columns. (They are necessarily empty.)
* | | - Set the FIL_PAGE_LSN as zero in buf_page_create().Thirunarayanan Balathandayuthapani2019-04-031-0/+1
| | |
* | | Merge 10.2 into HEADMarko Mäkelä2019-04-0240-2931/+4753
|\ \ \ | |/ /
| * | Fix integer type mismatchMarko Mäkelä2019-04-023-8/+8
| | |
| * | MDEV-19128 fil_name_parse() for MLOG_FILE_ is not portableMarko Mäkelä2019-04-021-6/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | On Microsoft Windows, InnoDB writes the path separator \ to the redo log file, while on all other platforms, / is being used. fil_name_parse(): Normalize the parsed path separators to the native format. This allows backups or data sets to be portable between Windows and other systems.
| * | Merge 10.1 into 10.2Marko Mäkelä2019-04-0221-2390/+4630
| |\ \ | | |/
| | * Omit the definition of unused function yyset_extra()Marko Mäkelä2019-04-024-6/+6
| | | | | | | | | | | | | | | This is follow-up for commit 619d22dde54ffe483ef8a57e49ec802b0e30c6bf to fix the cmake -DWITH_EMBEDDED_SERVER build.
| | * Rebuild the InnoDB lexical analyzers with flex 2.6.4Marko Mäkelä2019-04-0118-2234/+4502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InnoDB includes 3 parsers, which use 3 lexical analyzers that are generated with flex. Flex versions before 2.6 emitted the keyword "register", which is deprecated in C++17. The lexical analyzers were regenerated as follows: for s in storage/innobase storage/xtradb do (cd "$s"/pars; ./make_flex.sh) touch "$s"/fts/*.l make -C "$s"/fts -f Makefile.query done
| | * MDEV-19111 Unused field ↵Marko Mäkelä2019-04-011-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INFORMATION_SCHEMA.INNODB_TABLESPACES_SCRUBBING.ROTATING_OR_FLUSHING The MDEV-11738/MDEV-11581 fix was supposed to add the column ROTATING_OR_FLUSHING to the INFORMATION_SCHEMA table INNODB_TABLESPACES_ENCRYPTION, but it also added that column to INNODB_TABLESPACES_SCRUBBING in InnoDB (not XtraDB). The extra column was never initialized. We will remove it, because key rotation has nothing to do with the scrubbing of tablespace data.
| * | MDEV-19085: Fix a typo that was caught by GCC 5.4Marko Mäkelä2019-04-011-2/+1
| | |
| * | MDEV-19085 Assertion failures due to virtual columns after upgrading from 10.1Marko Mäkelä2019-04-011-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MariaDB before MDEV-5800 in version 10.2.2 did not support indexed virtual columns. Non-persistent virtual columns were hidden from storage engines. Only starting with MDEV-5800, InnoDB would create internal metadata on virtual columns. Similar to what was done in MDEV-18084, MDEV-18090, MDEV-18960, we adjust one more code path for the old tables. innobase_build_col_map(): Allocate space for virtual columns in col_map[] but leave the entries at ULINT_UNDEFINED, noting that the virtual columns were missing before the table was being rebuilt.
| * | Disable tests in rocksdb_stress suite (which was enabled a few commits ago)Sergei Petrunia2019-04-011-0/+2
| | |
| * | MDEV-19089, part #2: mark rocksdb.deadlock as "big test"Sergei Petrunia2019-03-301-0/+1
| | | | | | | | | | | | It turns out, moving it to rocksdb_stress test suite is not that easy.
| * | MDEV-19089 part #1: adapt rocksdb_stress suite for MariaDBSergei Petrunia2019-03-308-8/+61
| | |
| * | remove unneeded codeEugene Kosov2019-03-291-4/+1
| | | | | | | | | | | | rec_get_offsets() was previously called in a btr_cur_optimistic_update()
| * | remove dead codeEugene Kosov2019-03-296-514/+0
| | |
* | | Initialize the entire page on MLOG_ZIP_PAGE_COMPRESSMarko Mäkelä2019-04-023-52/+30
| | |
* | | - Forget to push assert for the failureThirunarayanan Balathandayuthapani2019-04-022-1/+2
| | |
* | | - Trying to find why mariabackup.xb_compressed_encrypted test case failed.Thirunarayanan Balathandayuthapani2019-04-022-2/+7
| | |