- 03 Oct, 2017 2 commits
-
-
Jan Lindström authored
wrep_sst_common and wsrep_sst_xtrabackup-v2 bugfixes to read sst parameters from configs
-
Marko Mäkelä authored
The function dict_disable_redo_if_temporary() was supposed to disable redo logging for temporary tables. It was invoked unnecessarily for two read-only operations: row_undo_search_clust_to_pcur() and dict_stats_update_transient_for_index(). When a table is not temporary and not in the system tablespace, the tablespace should be flagged for MLOG_FILE_NAME logging. We do not need this overhead for temporary tables. Therefore, either mtr_t::set_log_mode() or mtr_t::set_named_space() should be invoked. dict_table_t::is_temporary(): Determine if a table is temporary. dict_table_is_temporary(): Redefined as a macro wrapper for dict_table_t::is_temporary(). dict_disable_redo_if_temporary(): Remove.
-
- 02 Oct, 2017 8 commits
-
-
Marko Mäkelä authored
The method handlerton::replace_native_transaction_in_thd was added into MySQL 5.7 in WL#6860, Binlogging XA-prepared transaction. In MariaDB we do not have that change yet.
-
Marko Mäkelä authored
The field dict_table_t::big_rows was only used for determining if the adaptive hash index should be used when the internal InnoDB SQL parser is used. That parser is only used for modifying the InnoDB data dictionary, updating persistent tables, and for fulltext indexes.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
btr_cur_pessimistic_delete(): Discard a possible record lock also in the case when the record was the only one in the page. Failure to do this would corrupt the record lock data structures in a partial rollback (ROLLBACK TO SAVEPOINT or rolling back a row operation due to some error, such as a duplicate key in a unique secondary index).
-
Marko Mäkelä authored
MySQL 5.7 allows the creation of InnoDB tables in a user-created tablespace, but MariaDB does not. Remove the remaining references. This is a non-functional change.
-
- 01 Oct, 2017 1 commit
-
-
Martynas Bendorius authored
wrep_sst_common: Setting "-c ''" for my_print_defaults just takes no values from config at all. $MY_PRINT_DEFAULTS is already set at the top of the script to have --defaults-file and --defaults-extra-file. If WSREP_SST_OPT_CONF if set to "--defaults-file=/etc/my.cnf --defaults-extra-file=/etc/my.extra.cnf", then "my_print_defaults -c "" --defaults-file=/etc/my.cnf" succeeds, but if WSREP_SST_OPT_CONF is empty - no default values are taken at all. wsrep_sst_xtrabackup-v2: innobackupex does not support --defaults-extra-file, so ${WSREP_SST_OPT_CONF} cannot be used as an argument, it has been changed to ${WSREP_SST_OPT_DEFAULT}. Removed --defaults-file= from INNOMOVE line, because WSREP_SST_OPT_CONF already includes it (INNOBACKUP was fine, INNOMOVE - not).
-
- 30 Sep, 2017 1 commit
-
-
Vladislav Vaintroub authored
-
- 29 Sep, 2017 8 commits
-
-
Vladislav Vaintroub authored
warning
-
Vladislav Vaintroub authored
Only microsoft compiler, which can be correctly tested with #ifdef _MSC_VER) has __declspec(noreturn)
-
Vladislav Vaintroub authored
Prior to this patch, creating or even opening any innodb file in 10.2 would set a sparse flag on file. The file extension was done by setting end of file, without writing zeros. This technique is fine, however due to sparsedness, it created a hole at the end of the file, which lead to much higher fragmentation subsequently. The fix is only to use sparse flag for compressed tables, where holes are actually wanted, but not for normal tables.
-
Vladislav Vaintroub authored
'version' variables. The warnings occur on Windows build, yet they are also are valid on 32bit Unix. Fix is to consistently use 64bit integer on all platforms.
-
Vladislav Vaintroub authored
some ulonglong variables were printed as %lu
-
Marko Mäkelä authored
upd_field_set_field_no(): Remove the unused parameter trx, and remove a debug message. In debug builds, the out-of-bounds access would still be caught by dict_index_get_nth_col(). trx_undo_update_rec_get_update(): Remove the unnecessary parameter trx.
-
Marko Mäkelä authored
The InnoDB native partitioning (ha_innopart) is a MySQL 5.7 code refactoring exercise that was not merged to MariaDB.
-
Jan Lindström authored
Patch contibuted by Gordon Fisher. Thank you for your contribution!
-
- 28 Sep, 2017 7 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Fixes some warnings in popular headers.
-
Vladislav Vaintroub authored
- Fix win64 pointer truncation warnings (usually coming from misusing 0x%lx and long cast in DBUG) - Also fix printf-format warnings Make the above mentioned warnings fatal. - fix pthread_join on Windows to set return value.
-
Marko Mäkelä authored
-
Jan Lindström authored
After review cleanup.
-
- 27 Sep, 2017 11 commits
-
-
Daniel Bartholomew authored
-
Daniel Bartholomew authored
-
Monty authored
-
Monty authored
-
Vladislav Vaintroub authored
Update.rdiff fle Also, introduce my_popen()/my_fgets() wrapper function for popen()/fgets() in mysqltest to workaround a popen() bug in Windows C runtime, mentioned in MDEV-9409 This workaround was used previously for "exec". From now on, it is also used are used also for "perl" snippets.
-
Eugene Kosov authored
reapply 6192f0bf TSAN warnings count decreased from 206 to 195
-
Sergei Golubchik authored
fix some old bad merge
-
Sergei Golubchik authored
-
Sergei Golubchik authored
avoid a function call for a commonly used one-liner. followup for 0627929f
-
Sergei Golubchik authored
remove copy-pasted code, fix meaningless comparison. followup for ea2162b6
-
Sachin Setiya authored
Problem:- This crash happens because of thd = NULL , and while checking for wsrep_on , we no longer check for thd != NULL (MDEV-7955). So this problem is regression of MDEV-7955. However this patch not only solves this regression , It solves all regression caused by MDEV-7955 patch. To get all possible cases when thd can be null , assert(thd)/ assert(trx->mysql_thd) is place just before all wsrep_on and innodb test suite is run. And the assert which caused failure are removed with a physical check for thd != NULL. Rest assert are removed. Hopefully this method will remove all current/potential regression of MDEV-7955.
-
- 25 Sep, 2017 2 commits
-
-
Monty authored
- Clean up formulas and comments for host_cache_size and back_log - Added test of autoset (for host_cache_size) - Marked open_files_limit as auto_set
-
Marko Mäkelä authored
Ensure that no adaptive hash index exists for any system tables, so that the blocked TRUNCATE TABLE t1 will not block the concurrent TRUNCATE TABLE t2.
-