From f6cb4f0a19487879171b2374ebcb71f34cee3024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Fri, 22 Sep 2017 10:28:14 +0300 Subject: [PATCH 01/12] MDEV-13814 Extra logging when innodb_log_archive=ON log_group_read_log_seg(): Only display the message during recovery, not during normal operation. When the XtraDB configuration parameter innodb_log_archive is set, this function will be called during normal operation. --- storage/xtradb/log/log0log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/xtradb/log/log0log.cc b/storage/xtradb/log/log0log.cc index a3b08eb6730..b8eaa08638f 100644 --- a/storage/xtradb/log/log0log.cc +++ b/storage/xtradb/log/log0log.cc @@ -2537,7 +2537,7 @@ loop: start_lsn += len; buf += len; - if (recv_sys->report(ut_time())) { + if (recv_recovery_is_on() && recv_sys->report(ut_time())) { ib_logf(IB_LOG_LEVEL_INFO, "Read redo log up to LSN=" LSN_PF, start_lsn); } From a753caf13556a92b70c5baaa2a77a6e50f4dc94b Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 22 Sep 2017 13:40:04 +0200 Subject: [PATCH 02/12] update rdiff after merge --- mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff b/mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff index dc9a5fd05e6..6aa4e32e95e 100644 --- a/mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff +++ b/mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff @@ -662,7 +662,7 @@ VARIABLE_NAME INNODB_VERSION SESSION_VALUE NULL -GLOBAL_VALUE 5.6.37 -+GLOBAL_VALUE 5.6.36-82.1 ++GLOBAL_VALUE 5.6.36-82.2 GLOBAL_VALUE_ORIGIN COMPILE-TIME DEFAULT_VALUE NULL VARIABLE_SCOPE GLOBAL From d8fe5fa131936794a4acff2be899fe18f6a42985 Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Fri, 22 Sep 2017 17:54:23 +0300 Subject: [PATCH 03/12] Updated list of unstable tests for 10.1.27 release --- mysql-test/unstable-tests | 174 +++++++++++++++++++++++--------------- 1 file changed, 107 insertions(+), 67 deletions(-) diff --git a/mysql-test/unstable-tests b/mysql-test/unstable-tests index 5ec491171b1..cf99f822dfc 100644 --- a/mysql-test/unstable-tests +++ b/mysql-test/unstable-tests @@ -23,23 +23,22 @@ # ############################################################################## +main.alter_table : Modified in 10.1.27 main.alter_table_trans : MDEV-12084 - timeout main.analyze_format_json : MDEV-11866 - Wrong result main.analyze_stmt_orderby : MDEV-11866 - Wrong result main.analyze_stmt_slow_query_log : MDEV-12237 - Wrong result main.binary_to_hex : Added in 10.1.26 -main.bootstrap : Modified in 10.1.25 -main.count_distinct : Modified in 10.1.26 +main.count_distinct : Modified in 10.1.27 main.create_delayed : MDEV-10605 - failed with timeout main.create_drop_event : Modified in 10.1.26 -main.ctype_ucs : Modified in 10.1.25 main.ctype_utf16le : MDEV-10675: timeout or extra warnings +main.ctype_utf8 : Modified in 10.1.27 main.drop-no_root : MDEV-12633 - Valgrind warnings main.errors : Modified in 10.1.26 main.events_bugs : MDEV-12892 - Crash in fill_schema_processlist main.events_restart : MDEV-12236 - Server shutdown problem -main.func_concat : Modified in 10.1.25 -main.func_crypt : Modified in 10.1.25 +main.func_misc : Modified in 10.1.27 main.func_regexp_pcre : MDEV-13412 - Crash; modified in 10.1.26 main.gis : Modified in 10.1.26 main.gis-rt-precise : Modified in 10.1.26 @@ -48,28 +47,26 @@ main.host_cache_size_functionality : MDEV-10606 - sporadic failure on shutdown main.index_intersect_innodb : MDEV-10643 - failed with timeout main.index_merge_innodb : MDEV-7142 - Wrong execution plan, timeout with valgrind main.innodb_mysql_lock : MDEV-7861 - sporadic lock detection failure -main.join_outer : Modified in 10.1.25 +main.insert : Modified in 10.1.27 main.kill_processlist-6619 : MDEV-10793 - wrong result in processlist main.loadxml : Data file modified in 10.1.26 +main.log_tables-big : Modified in 10.1.27 main.mdev-504 : MDEV-10607 - sporadic "can't connect" main.mdev375 : MDEV-10607 - sporadic "can't connect" -main.mdl_sync : Modified in 10.1.25 main.merge : MDEV-10607 - sporadic "can't connect" -main.mysql : Modified in 10.1.25 main.mysqlcheck : MDEV-12633 - Valgrind warnings -main.mysqld--help : Modified in 10.1.25 main.mysqlslap : MDEV-11801 - timeout -main.mysqltest : MDEV-9269 - fails on Alpha; modified in 10.1.25 +main.mysqltest : MDEV-9269 - fails on Alpha main.mysql_client_test : MDEV-12633 - Valgrind warnings main.mysql_client_test_comp : MDEV-12633 - Valgrind warnings main.mysql_client_test_nonblock : MDEV-12633 - Valgrind warnings main.mysql_upgrade : Modified in 10.1.26 +main.old-mode : Modified in 10.1.27 main.openssl_1 : Modified in 10.1.26 main.openssl_6975 : Modified in 10.1.26 -main.order_by : MOdified in 10.1.25 main.order_by_optimizer_innodb : MDEV-10683 - wrong execution plan -main.partition_alter : Modified in 10.1.25 main.partition_innodb_plugin : MDEV-12901 - Valgrind warnings +main.partition_symlink : Modified in 10.1.27 main.ps : MDEV-11017 - sporadic wrong Prepared_stmt_count main.query_cache : MDEV-12895 - Wrong result main.range_vs_index_merge_innodb : MDEV-12637 - Timeout @@ -78,20 +75,20 @@ main.repair_symlink-5543 : MDEV-12215 - Wrong error codes main.set_statement : MDEV-13183 - Wrong result main.show_check : MDEV-12633 - Valgrind warnings main.show_explain : MDEV-10674 - sporadic failure +main.sp : Modified in 10.1.27 main.sp-security : MDEV-10607 - sporadic "can't connect" main.ssl : Modified in 10.1.26 main.status : MDEV-8510 - sporadic wrong result main.subselect : Modified in 10.1.26 main.subselect_innodb : MDEV-10614 - sporadic wrong results -main.subselect_mat_cost_bugs : Modified in 10.1.25 main.subselect_nulls : Modified in 10.1.26 -main.subselect_sj_mat : Modified in 10.1.25 -main.subselect_sj2_mat : Modified in 10.1.25 +main.symlink : Modified in 10.1.27 main.symlink-aria-11902 : MDEV-12215 - Unexpected errors main.symlink-myisam-11902 : MDEV-12215 - Unexpected errors +main.tc_heuristic_recover : Added in 10.1.27 main.type_datetime_hires : MDEV-10687 - timeout main.union : Modified in 10.1.26 -main.view : Modified in 10.1.26 +main.view : Modified in 10.1.27 #---------------------------------------------------------------- @@ -115,23 +112,56 @@ binlog_encryption.rpl_semi_sync : MDEV-11220 - Wrong result, MDEV-11673 - Val #---------------------------------------------------------------- -connect.tbl : MDEV-9844, MDEV-10179 - sporadic crashes, valgrind warnings, wrong results +connect.alter_xml : Modified in 10.1.27 +connect.alter_xml2 : Added in 10.1.27 +connect.infoschema-9739 : Modified in 10.1.27 +connect.infoschema2-9739 : Added in 10.1.27 +connect.jdbc_new : Modified in 10.1.27 +connect.json : Modified in 10.1.27 +connect.json_java_2 : Added in 10.1.27 +connect.json_java_3 : Added in 10.1.27 +connect.json_mongo_c : Added in 10.1.27 +connect.json_udf : Modified in 10.1.27 +connect.json_udf_bin : Modified in 10.1.27 +connect.mongo_c : Added in 10.1.27 +connect.mongo_java_2 : Added in 10.1.27 +connect.mongo_java_3 : Added in 10.1.27 +connect.mul_new : Added in 10.1.27 +connect.mysql_exec : Modified in 10.1.27 +connect.mysql_new : Modified in 10.1.27 +connect.tbl : MDEV-9844, MDEV-10179 - sporadic crashes, valgrind warnings, wrong results; modified in 10.1.27 +connect.tbl_thread : MDEV-9844, MDEV-10179 - sporadic crashes, valgrind warnings, wrong results; added in 10.1.27 +connect.unsigned : Modified in 10.1.27 +connect.upd : Modified in 10.1.27 +connect.xml : Modified in 10.1.27 +connect.xml2 : Added in 10.1.27 +connect.xml2_grant : Added in 10.1.27 +connect.xml2_html : Added in 10.1.27 +connect.xml2_mdev5261 : Added in 10.1.27 +connect.xml2_mult : Added in 10.1.27 +connect.xml2_zip : Added in 10.1.27 +connect.xml_grant : Modified in 10.1.27 +connect.xml_html : Modified in 10.1.27 +connect.xml_mdev5261 : Modified in 10.1.27 +connect.xml_mult : Modified in 10.1.27 +connect.xml_zip : Modified in 10.1.27 +connect.zip : MDEV-13884 - Wrong result; modified in 10.1.27 #---------------------------------------------------------------- -encryption.create_or_replace : MDEV-9359 - Assertion failure +encryption.create_or_replace : MDEV-9359 - Assertion failure, MDEV-13516 - Assertion failure +encryption.encrypt_and_grep : MDEV-13765 - Wrong result encryption.innodb-bad-key-change2 : MDEV-12632 - Valgrind warnings encryption.innochecksum : Modified in 10.1.26 -encryption.innodb-checksum-algorithm : MDEV-13167 - Assertion failure; added in 10.1.25 -encryption.innodb-compressed-blob : Modified in 10.1.25 encryption.innodb-discard-import-change : MDEV-12632 - Valgrind warnings +encryption.innodb_encryption : Modified in 10.1.27 encryption.innodb_encryption_discard_import : MDEV-12903 - Wrong result encryption.innodb_encryption_filekeys : MDEV-9962 - timeouts encryption.innodb_encryption-page-compression : MDEV-12630 - crash or assertion failure encryption.innodb_encryption_tables : MDEV-9359 - Assertion failure encryption.innodb_first_page : MDEV-10689 - crashes -encryption.innodb-first-page-read : MDEV-13181 - Signal 8; added in 10.1.25 -encryption.innodb_lotoftables : MDEV-11531 - InnoDB error +encryption.innodb-first-page-read : MDEV-13181 - Signal 8; modified in 10.1.27 +encryption.innodb_lotoftables : MDEV-11531 - InnoDB error; modified in 10.1.27 encryption.innodb-missing-key : MDEV-9359 - assertion failure encryption.innodb-page_encryption : MDEV-10641 - mutex problem encryption.innodb-redo-badkey : MDEV-12898 - Server hang on startup @@ -164,63 +194,69 @@ funcs_2.myisam_charset : MDEV-11535 - Timeout #---------------------------------------------------------------- -galera.galera_defaults : Modified in 10.1.25 -galera.MW-369 : Added in 10.1.25 +galera.* : The suite was enabled in 10.1.27 and is still unstable +galera_3nodes.* : The suite has not been stabilized yet + +galera.galera_applier_ftwrl_table_alter : MDEV-13738 - MySQL server has gone away +galera.galera_gcs_fc_limit : MDEV-13877 - Timeout +galera.galera_suspend_slave : MDEV-13873 - Wrong error code +galera.galera_toi_truncate : MDEV-13743 - query 'reap' succeeded +galera.galera_unicode_identifiers : MDEV-13871 - Unknown database +galera.galera_var_node_address : MDEV-13880 - Failed to start mysqld +galera.galera_wan : MDEV-13879 - Stray state UUID msg warnings +galera.galera_wsrep_log_conficts : MDEV-13874 - check-testcase failed +galera.partition : MDEV-13881 - Wrong result +galera.query_cache : MDEV-13883 - Wrong result +galera.MW-328A : MDEV-13876 - Wrong result #---------------------------------------------------------------- innodb.101_compatibility : Modified in 10.1.26 +innodb.alter_rename_existing : Added in 10.1.27 innodb.binlog_consistent : MDEV-10618 - Server fails to start -innodb.doublewrite : MDEV-12905 - Lost connection to MySQL server; modified in 10.1.25 +innodb.create-index-debug : Added in 10.1.27 +innodb.doublewrite : MDEV-12905 - Lost connection to MySQL server +innodb.index_tree_operation : Added in 10.1.27 innodb.innodb-32k : Option file modified in 10.1.26 innodb.innodb-32k-crash : Option file modified in 10.1.26 innodb.innodb-64k : Modified in 10.1.26 -innodb.innodb-64k-crash : Option file modified in 10.1.26 -innodb.innodb-alter-debug : MDEV-13182 - InnoDB: adjusting FSP_SPACE_FLAGS; modified in 10.1.25 -innodb.innodb-alter-discard : Modified in 10.1.25 -innodb.innodb-alter-nullable : Modified in 10.1.25 -innodb.innodb-alter-table : MDEV-10619 - Testcase timeout; modified in 10.1.25 -innodb.innodb-alter-tempfile : Modified in 10.1.25 +innodb.innodb-64k-crash : MDEV-13872 - Failure and crash on startup +innodb.innodb-alter : Added in 10.1.27 +innodb.innodb-alter-autoinc : Added in 10.1.27 +innodb.innodb-alter-debug : MDEV-13182 - InnoDB: adjusting FSP_SPACE_FLAGS +innodb.innodb-alter-table : MDEV-10619 - Testcase timeout innodb.innodb-blob : MDEV-12053 - Client crash innodb.innodb_bug14147491 : MDEV-11808 - wrong error codes innodb.innodb_bug30423 : MDEV-7311 - Wrong number of rows in the plan -innodb.innodb_bug53290 : MDEV-12634 - Valgrind warnings -innodb.innodb-enlarge-blob : Added in 10.1.26 +innodb.innodb-enlarge-blob : Modified in 10.1.27 +innodb.innodb-fk : MDEV-13832 - Assertion failure on shutdown +innodb.innodb-index-debug : Added in 10.1.27 +innodb.innodb-index-online : Added in 10.1.27 +innodb.innodb-index-online-delete : Added in 10.1.27 +innodb.innodb-index-online-fk : Added in 10.1.27 +innodb.innodb-index-online-purge : Added in 10.1.27 innodb.innodb_max_recordsize_32k : Added in 10.1.26 innodb.innodb_max_recordsize_64k : Added in 10.1.26 innodb.innodb-page_compression_zip : MDEV-10641 - mutex problem -innodb.innodb_prefix_index_restart_server : MDEV-12899 - Server crash on shutdown innodb.innodb_stats : MDEV-10682 - wrong result innodb.innodb_sys_semaphore_waits : MDEV-10331 - wrong result +innodb.innodb-table-online : Added in 10.1.27 +innodb.innodb-wl5980-alter : Added in 10.1.27 innodb.innodb_zip_innochecksum : Added in 10.1.26 -innodb.innodb_zip_innochecksum2 : Added in 10.1.26 +innodb.innodb_zip_innochecksum2 : MDEV-13882 - Warning: difficult to find free blocks innodb.innodb_zip_innochecksum3 : Added in 10.1.26 -innodb.log_data_file_size : MDEV-12893 - Database page corruption; modified in 10.1.25 -innodb.log_file_size : Modified in 10.1.25 -innodb.row_format_redundant : Added in 10.1.25 -innodb.table_flags : Added in 10.1.25 +innodb.log_data_file_size : Modified in 10.1.27 +innodb.xa_recovery : Modified in 10.1.27 innodb_fts.fulltext_misc : MDEV-12636 - Valgrind warnings -innodb_zip.innodb_bug36169 : Modified in 10.1.25 -innodb_zip.innodb_bug36172 : Modified in 10.1.25 -innodb_zip.innodb_bug52745 : Modified in 10.1.25 -innodb_zip.innodb_bug53591 : Modified in 10.1.25 -innodb_zip.innodb_bug56680 : Modified in 10.1.25 -innodb_zip.innodb-create-options : Modified in 10.1.25 -innodb_zip.innodb-zip : Modified in 10.1.25 #---------------------------------------------------------------- -mariabackup.full_backup : Modified in 10.1.25 -mariabackup.incremental_backup : Uses include file modified in 10.1.25 -mariabackup.incremental_encrypted : Modified in 10.1.25 -mariabackup.xb_aws_key_management : Uses include file modified in 10.1.25 -mariabackup.xb_compressed_encrypted : Modified in 10.1.25 -mariabackup.xb_file_key_management : Modified in 10.1.25 -mariabackup.xb_fulltext_encrypted : Uses include file modified in 10.1.25 -mariabackup.xb_partition : Uses include file modified in 10.1.25 -mariabackup.xbstream : Uses include file modified in 10.1.25 +mariabackup.apply-log-only : Added in 10.1.27 +mariabackup.apply-log-only-incr : Added in 10.1.27 +mariabackup.auth_plugin_win : Added in 10.1.27 +mariabackup.xb_aws_key_management : Modified in 10.1.27 #---------------------------------------------------------------- @@ -237,7 +273,6 @@ mroonga/storage.repair_table_no_index_file : MDEV-9364 - multi_source.gtid : MDEV-10417 - Fails on Mips multi_source.info_logs : MDEV-10042 - Wrong result, MDEV-12629 - Valgrind warnings -multi_source.mdev-9544 : Added in 10.1.25 multi_source.multisource : MDEV-10417 - Fails on Mips multi_source.reset_slave : MDEV-10690 - wrong result multi_source.simple : MDEV-4633 - Wrong slave status output @@ -246,12 +281,19 @@ multi_source.status_vars : MDEV-4632 - failed while waiting for Slave_received_h #---------------------------------------------------------------- parts.longname : Added in 10.1.26 +parts.partition_exch_myisam_innodb : Modified in 10.1.27 +parts.partition_exch_qa_10 : Include files modified in 10.1.27 +parts.partition_exch_qa_11 : Include files modified in 10.1.27 +parts.partition_exch_qa_12 : Include files modified in 10.1.27 +parts.partition_exch_qa_14 : Modified in 10.1.27 +parts.partition_exch_qa_15 : Modified in 10.1.27 +parts.partition_exch_qa_2 : Modified in 10.1.27 +parts.partition_exch_qa_3 : Modified in 10.1.27 +parts.partition_exch_qa_6 : Modified in 10.1.27 parts.partition_innodb_status_file : MDEV-12901 - Valgrind -parts.quoting : Modified in 10.1.25 #---------------------------------------------------------------- -perfschema.bad_option_2 : Modified in 10.1.25 perfschema.func_file_io : MDEV-5708 - fails for s390x perfschema.func_mutex : MDEV-5708 - fails for s390x perfschema.privilege_table_io : MDEV-13184 - Extra lines; modified in 10.1.26 @@ -269,11 +311,6 @@ plugins.thread_pool_server_audit : MDEV-9562 - crashes on sol10-sparc #---------------------------------------------------------------- -roles.current_role_view-12666 : Added in 10.1.25 -roles.show_create_database-10463 : Added in 10.1.25 - -#---------------------------------------------------------------- - rpl.circular_serverid0 : Added in 10.1.26 rpl.last_insert_id : MDEV-10625 - warnings in error log rpl.rpl_auto_increment : MDEV-10417 - Fails on Mips @@ -315,12 +352,12 @@ rpl.rpl_password_boundaries : MDEV-11534 - Slave IO warnings rpl.rpl_reset_slave_fail : Added in 10.1.26 rpl.rpl_rotate_logs : Include file modified in 10.1.26 rpl.rpl_row_binlog_max_cache_size : Include file modified in 10.1.26 +rpl.rpl_row_img_eng_min : MDEV-13875 - command "diff_files" failed rpl.rpl_row_loaddata_concurrent : Include file modified in 10.1.26 rpl.rpl_row_log_innodb : MDEV-10688 - Wrong result rpl.rpl_row_sp001 : MDEV-9329 - Fails on Ubuntu/s390x rpl.rpl_row_tabledefs_2myisam : Include file modified in 10.1.26 rpl.rpl_row_tabledefs_3innodb : Include file modified in 10.1.26 -rpl.rpl_row_utf32 : One-time server startup timeout on ppc64le in 10.1.25 rpl.rpl_semi_sync : MDEV-11220 - Wrong result rpl.rpl_semi_sync_event_after_sync : MDEV-11806 - warnings rpl.rpl_semi_sync_uninstall_plugin : MDEV-7140 - Wrong plugin status, MDEV-10892 - Assertion failure @@ -328,11 +365,14 @@ rpl.rpl_semi_sync_wait_point : MDEV-11807 - timeout in wait condition rpl.rpl_show_slave_hosts : MDEV-10681 - server startup problem rpl.rpl_skip_replication : MDEV-9268 - Fails with timeout in sync_slave_with_master on Alpha rpl.rpl_slave_grp_exec : MDEV-10514 - Unexpected deadlock +rpl.rpl_sp_variables : Added in 10.1.27 rpl.rpl_stm_000001 : Include file modified in 10.1.26 rpl.rpl_stm_binlog_max_cache_size : Include file modified in 10.1.26 rpl.rpl_stm_loaddata_concurrent : Include file modified in 10.1.26 rpl.rpl_sync : MDEV-10633 - Database page corruption +rpl.rpl_temporal_format_mariadb53_to_mysql56_dst : Added in 10.1.27 rpl.rpl_temporary_error2 : MDEV-10634 - Wrong number of retries +rpl.sec_behind_master-5114 : MDEV-13878 - Wrong result #---------------------------------------------------------------- @@ -371,7 +411,6 @@ sys_vars.autocommit_func2 : MDEV-9329 - Fails on Ubuntu/s39 sys_vars.keep_files_on_create_basic : MDEV-10676 - timeout sys_vars.innodb_buffer_pool_dump_pct_basic : MDEV-10651 - sporadic failure on file_exists sys_vars.innodb_fatal_semaphore_wait_threshold : MDEV-10513 - crashes -sys_vars.innodb_sched_priority_cleaner_basic : Modified in 10.1.25 sys_vars.log_slow_admin_statements_func : MDEV-12235 - Server crash sys_vars.rpl_init_slave_func : MDEV-10149 - wrong results sys_vars.sysvars_innodb : MDEV-6958 - error-prone rdiffs @@ -388,7 +427,7 @@ tokudb.change_column_char : MDEV-12822 - Lost connection to MySQL ser tokudb.cluster_filter : MDEV-10678 - Wrong execution plan tokudb.cluster_filter_hidden : MDEV-10678 - Wrong execution plan tokudb.cluster_filter_unpack_varchar : MDEV-10636 - Wrong execution plan -tokudb.dir_per_db : MDEV-11537 - Wrong result +tokudb.dir_per_db : MDEV-11537 - Wrong result; modified in 10.1.27 tokudb.hotindex-insert-bigchar : MDEV-12640 - Crash tokudb.hotindex-update-1 : MDEV-12640 - Crash tokudb.kill_query_blocked_in_lt : Added in 10.1.26 @@ -451,7 +490,8 @@ vcol.vcol_keys_innodb : MDEV-10639 - Testcase timeout #---------------------------------------------------------------- wsrep.binlog_format : MDEV-11532 - WSREP has not yet prepared node +wsrep.mdev_6832 : Option file changed in 10.1.27 +wsrep.mdev_7798 : Option file changed in 10.1.27 wsrep.pool_of_threads : MDEV-12234 - Library problem on Power -wsrep.variables : Include file modified in 10.1.25 wsrep_info.plugin : MDEV-12909 - Wrong result From cd2a85e763671dfe9f91fbc5a00aa6f747d8860d Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Fri, 22 Sep 2017 21:47:38 +0300 Subject: [PATCH 04/12] Updated list of unstable tests for 10.2.9 --- mysql-test/unstable-tests | 261 +++++++++++++++++--------------------- 1 file changed, 115 insertions(+), 146 deletions(-) diff --git a/mysql-test/unstable-tests b/mysql-test/unstable-tests index a03628bdea6..62a3d493288 100644 --- a/mysql-test/unstable-tests +++ b/mysql-test/unstable-tests @@ -24,44 +24,39 @@ ############################################################################## -main.alter_table : Modified in 10.2.8 +main.alter_table : Modified in 10.2.9 main.alter_table_online : Modified in 10.2.8 main.analyze_format_json : MDEV-11866 - Mismatch; modified in 10.2.8 main.analyze_stmt_slow_query_log : MDEV-12237 - Wrong result main.analyze_stmt_orderby : MDEV-11866 - Mismatch main.binary_to_hex : Added in 10.2.8 -main.bootstrap : Modified in 10.2.7 -main.check_constraint : Modified in 10.2.8 -main.client_xml : Modified in 10.2.7 -main.count_distinct : Modified in 10.2.8 +main.check_constraint : Modified in 10.2.9 +main.connect2 : MDEV-13885 - Server crash +main.count_distinct : Modified in 10.2.9 main.create_drop_event : Modified in 10.2.8 -main.cte_nonrecursive : Modified in 10.2.7 -main.ctype_ucs : Modified in 10.2.7 -main.derived_cond_pushdown : Modified in 10.2.7 -main.derived_view : Modified in 10.2.7 +main.ctype_utf8 : Modified in 10.2.9 +main.date_formats : Modified in 10.2.9 +main.default : Modified in 10.2.9 main.drop-no_root : MDEV-12633 - Valgrind main.errors : Modified in 10.2.8 main.events_2 : MDEV-13277 - Crash -main.func_concat : Modified in 10.2.7 -main.func_crypt : Modified in 10.2.7 -main.func_group : Modified in 10.2.7 -main.func_json : MDEV-11648 - Crash, valgrind; modified in 10.2.8 +main.func_json : MDEV-11648 - Crash, valgrind; modified in 10.2.9 +main.func_math : Modified in 10.2.9 +main.func_misc : Modified in 10.2.9 main.func_regexp_pcre : MDEV-13412 - Crash; modified in 10.2.8 main.gis : Modified in 10.2.8 main.gis-json : Modified in 10.2.8 main.group_by : Modified in 10.2.8 main.index_merge_innodb : MDEV-7142 - Plan mismatch; include file modified in 10.2.8 main.index_merge_myisam : Include file modified in 10.2.8 -main.innodb_ext_key : Modified in 10.2.7 main.innodb_mysql_lock : MDEV-7861 - Wrong result -main.join_outer : Modified in 10.2.7 +main.insert : Modified in 10.2.9 main.kill-2 : MDEV-13257 - Wrong result main.loadxml : Data file modified in 10.2.8 +main.locale : Modified in 10.2.9 main.log_slow : MDEV-13263 - Wrong result -main.mdl : Added in 10.2.7 -main.mdl_sync : Modified in 10.2.7 -main.myisam_debug : Modified in 10.2.7 -main.mysql : Modified in 10.2.7 +main.log_tables-big : Modified in 10.2.9 +main.myisam : Modified in 10.2.9 main.mysql_client_test : MDEV-12633 - Valgrind main.mysql_client_test_comp : MDEV-12633 - Valgrind main.mysql_client_test_nonblock : MDEV-12633 - Valgrind, CONC-208 - Error on Power @@ -71,51 +66,51 @@ main.mysqlcheck : MDEV-12633 - Valgrind main.mysqld--help : Modified in 10.2.8 main.mysqld_option_err : MDEV-12747 - Timeout main.mysqlhotcopy_myisam : MDEV-10995 - Hang on debug -main.mysqltest : Modified in 10.2.7 +main.mysqltest : MDEV-13887 - Wrong result +main.old-mode : Modified in 10.2.9 main.openssl_1 : MDEV-13492 - Unknown SSL error -main.order_by : Modified in 10.2.7 -main.partition_alter : Modified in 10.2.7 +main.partition_symlink : Modified in 10.2.9 +main.range_interrupted-13751 : Added in 10.2.9 main.read_only : Modified in 10.2.8 main.shm : MDEV-12727 - Mismatch, ERROR 2013 main.show_check : MDEV-12633 - Valgrind -main.sp : MDEV-7866 - Mismatch; modified in 10.2.8 +main.sp : MDEV-7866 - Mismatch; modified in 10.2.9 main.sp-destruct : Modified in 10.2.8 main.sp-security : Modified in 10.2.8 main.ssl_7937 : MDEV-11546 - Timeout on Windows main.ssl_ca : MDEV-10895 - SSL connection error on Power +main.ssl_cert_verify : MDEV-13735 - Server crash main.ssl_connect : MDEV-13492 - Unknown SSL error main.ssl_timeout : MDEV-11244 - Crash main.stat_tables_par : MDEV-13266 - Wrong result main.statistics : Modified in 10.2.8 main.status : MDEV-13255 - Wrong result main.subselect : Modified in 10.2.8 -main.subselect_innodb : Modified in 10.2.7 -main.subselect_mat_cost_bugs : Modified in 10.2.7 main.subselect_nulls : Modified in 10.2.8 -main.subselect_sj : Modified in 10.2.7 -main.subselect_sj_mat : Modified in 10.2.7 -main.subselect_sj2_mat : Modified in 10.2.7 -main.trigger : Modified in 10.2.7 +main.symlink : Modified in 10.2.9 +main.tc_heuristic_recover : Added in 10.2.9 main.type_json : Modified in 10.2.8 main.type_num : Modified in 10.2.8 main.union : Modified in 10.2.8 -main.view : Modified in 10.2.8 -main.win : Modified in 10.2.8 -main.win_insert_select : Added in 10.2.7 +main.userstat : MDEV-12904 - SSL errors +main.view : Modified in 10.2.9 +main.wait_timeout : Modified in 10.2.9 +main.wait_timeout_not_windows : Modified in 10.2.9 +main.win : Modified in 10.2.9 +main.win_as_arg_to_aggregate_func : Added in 10.2.9 +main.win_insert_select : Modified in 10.2.9 #---------------------------------------------------------------- +archive.archive-big : MDEV-10615 - Table marked as crashed archive.mysqlhotcopy_archive : MDEV-10995 - Hang on debug #---------------------------------------------------------------- binlog.binlog_commit_wait : MDEV-10150 - Mismatch binlog.binlog_innodb : Modified in 10.2.8 -binlog.binlog_parallel_replication_marks_row : Added in 10.2.7 -binlog.binlog_parallel_replication_marks_stm_mix : Added in 10.2.7 binlog.binlog_unsafe : Modified in 10.2.8 -binlog.flashback : Modified in 10.2.7 -binlog.mysqladmin : Added in 10.2.7 +binlog.binlog_xa_recover : MDEV-8517 - Extra checkpoint #---------------------------------------------------------------- @@ -146,7 +141,7 @@ connect.mongo_java_3 : Added in 10.2.8 connect.mul_new : Added in 10.2.8 connect.mysql_exec : Modified in 10.2.8 connect.tbl : MDEV-10179 - Mismatch, MDEV-9844 - Valgrind, crash; modified in 10.2.8 -connect.tbl_thread : MDEV-10179 - Mismatch, MDEV-9844 - Valgrind, crash; added in 10.2.8 +connect.tbl_thread : MDEV-10179 - Mismatch, MDEV-9844 - Valgrind, crash; modified in 10.2.9 connect.vcol : MDEV-12374 - Fails on Windows connect.xml : Modified in 10.2.8 connect.xml2 : Added in 10.2.8 @@ -164,24 +159,21 @@ connect.zip : Modified in 10.2.8 #---------------------------------------------------------------- -csv.read_only : Added in 10.2.7 - -#---------------------------------------------------------------- - encryption.create_or_replace : MDEV-9359, MDEV-13516 - Assertion failure, MDEV-12694 - Timeout -encryption.innochecksum : Modified in 10.2.8 -encryption.innodb-checksum-algorithm : Added in 10.2.7 -encryption.innodb-compressed-blob : Modified in 10.2.7 +encryption.debug_key_management : MDEV-13841 - Timeout +encryption.encrypt_and_grep : MDEV-13765 - Wrong result +encryption.innochecksum : MDEV-13644 - Assertion failure; modified in 10.2.8 encryption.innodb-discard-import-change : MDEV-12632 - Valgrind +encryption.innodb_encryption : Modified in 10.2.9 encryption.innodb-encryption-alter : MDEV-13566 - Lock wait timeout encryption.innodb_encryption_discard_import : MDEV-12903 - Wrong result encryption.innodb_encryption_filekeys : MDEV-9962 - Timeout -encryption.innodb_encrypt_log : MDEV-13253 - Wrong result; modified in 10.2.8 -encryption.innodb_encrypt_log_corruption : MDEV-13253 - Wrong result -encryption.innodb_encryption-page-compression : Re-enabled in 10.2.7 +encryption.innodb_encrypt_log : Modified in 10.2.9 encryption.innodb_encryption_tables : MDEV-9359 - Assertion failure -encryption.innodb-first-page-read : Added in 10.2.7 -encryption.innodb-key-rotation-disable : Modified in 10.2.7 +encryption.innodb-first-page-read : Modified in 10.2.9 +encryption.innodb_lotoftables : Modified in 10.2.9 +encryption.innodb-redo-badkey : MDEV-13893 - page cannot be decrypted; modified in 10.2.9 +encryption.innodb-spatial-index : MDEV-13746 - Wrong result; modified in 10.2.9 encryption.second_plugin-12863 : Added in 10.2.8 #---------------------------------------------------------------- @@ -190,11 +182,11 @@ engines/rr_trx.* : MDEV-10998 - Not maintained #---------------------------------------------------------------- -federated.assisted_discovery : Modified in 10.2.7 federated.federated_innodb : MDEV-10617 - Wrong checksum federated.federated_transactions : MDEV-10617 - Wrong checksum federated.federatedx : MDEV-10617 - Wrong checksum federated.net_thd_crash-12725 : Added in 10.2.8 +federated.net_thd_crash-12951 : Added in 10.2.9 #---------------------------------------------------------------- @@ -216,123 +208,107 @@ funcs_2/charset.* : MDEV-10999 - Not maintained #---------------------------------------------------------------- -galera.galera_defaults : Modified in 10.2.7 -galera.MW-309 : Added in 10.2.7 -galera.MW-369 : Added in 10.2.7 +galera.* : Suite is not stable yet +galera_3nodes.* : Suite is not stable yet #---------------------------------------------------------------- gcol.gcol_bugfixes : Modified in 10.2.8 gcol.gcol_keys_innodb : Modified in 10.2.8 gcol.gcol_keys_myisam : Include file modified in 10.2.8 -gcol.gcol_rollback : Modified in 10.2.8 +gcol.gcol_rollback : Modified in 10.2.9 +gcol.gcol_update : Modified in 10.2.9 gcol.innodb_virtual_basic : Modified in 10.2.8 gcol.innodb_virtual_debug_purge : MDEV-13568 - Wrong result; modified in 10.2.8 gcol.innodb_virtual_purge : Modified in 10.2.8 #---------------------------------------------------------------- -innodb.101_compatibility : MDEV-13570 - Crash; perl file modified in 10.2.7 -innodb.alter_missing_tablespace : Modified in 10.2.7 +innodb.101_compatibility : MDEV-13891 - Wrong result +innodb.alter_crash : Added in 10.2.9 +innodb.alter_rename_existing : Added in 10.2.9 +innodb.create-index-debug : Added in 10.2.9 innodb.deadlock_detect : MDEV-13262 - Wrong error code innodb.defrag_mdl-9155 : MDEV-11336 - Timeout -innodb.doublewrite : Modified in 10.2.7 -innodb.drop_table_background : Added in 10.2.7 innodb.foreign_key : Modified in 10.2.8 -innodb.group_commit_binlog_pos : Modified in 10.2.7 -innodb.group_commit_binlog_pos_no_optimize_thread : Modified in 10.2.7 -innodb.ibuf_not_empty : MDEV-12741 - Tablespace error +innodb.group_commit_crash_no_optimize_thread : MDEV-13830 - Assertion failure innodb.index_merge_threshold : Modified in 10.2.8 +innodb.index_tree_operation : Added in 10.2.9 innodb.innodb-32k : Opt file modified in 10.2.8 innodb.innodb-32k-crash : Opt file modified in 10.2.8 innodb.innodb-64k : Modified in 10.2.8 innodb.innodb-64k-crash : Opt file modified in 10.2.8 -innodb.innodb-alter-debug : Modified in 10.2.7 -innodb.innodb-alter-nullable : Modified in 10.2.7 -innodb.innodb-alter-table : Modified in 10.2.7 -innodb.innodb-alter-tempfile : Modified in 10.2.7 -innodb.innodb-alter-timestamp : Modified in 10.2.7 innodb.innodb_bug14147491 : MDEV-11808 - Index is corrupt -innodb.innodb_bug53290 : MDEV-12634 - Valgrind +innodb.innodb-alter : Added in 10.2.9 +innodb.innodb-alter-autoinc : Added in 10.2.9 innodb.innodb_defragment : MDEV-11336 - Mismatch innodb.innodb_defragment_fill_factor : Modified in 10.2.8 innodb.innodb_defragment_small : MDEV-11336 - Mismatch innodb.innodb_defrag_binlog : MDEV-11336 - Mismatch innodb.innodb_defrag_concurrent : MDEV-11336 - Assertion failure, mismatch innodb.innodb_defrag_stats : MDEV-11336 - Mismatch -innodb.innodb-enlarge-blob : Added in 10.2.8 -innodb.innodb_force_recovery : Modified in 10.2.7 +innodb.innodb-enlarge-blob : Modified in 10.2.9 innodb.innodb-get-fk : MDEV-13276 - Server crash +innodb.innodb-index : Modified in 10.2.9 +innodb.innodb-index-debug : Added in 10.2.9 +innodb.innodb-index-online : Added in 10.2.9 +innodb.innodb-index-online-delete : Added in 10.2.9 +innodb.innodb-index-online-fk : Added in 10.2.9 +innodb.innodb-index-online-purge : Added in 10.2.9 innodb.innodb_information_schema : MDEV-8851 - Wrong result innodb.innodb_max_recordsize_32k : Added in 10.2.8 innodb.innodb_max_recordsize_64k : Added in 10.2.8 -innodb.innodb-page_compression_default : Modified in 10.2.7 -innodb.innodb-page_compression_snappy : Modified in 10.2.7 -innodb.innodb_stats_persistent : Added in 10.2.7 +innodb.innodb-page_compression_default : MDEV-13644 - Assertion failure +innodb.innodb-table-online : MDEV-13894 - Wrong result; modified in 10.2.9 +innodb.innodb_stats_persistent_debug : Added in 10.2.9 innodb.innodb_sys_semaphore_waits : MDEV-10331 - Semaphore wait +innodb.innodb-wl5522-debug : Modified in 10.2.9 +innodb.innodb-wl5980-alter : Added in 10.2.9 innodb.innodb_zip_innochecksum : Added in 10.2.8 innodb.innodb_zip_innochecksum2 : Added in 10.2.8 innodb.innodb_zip_innochecksum3 : Added in 10.2.8 innodb.log_corruption : MDEV-13251 - Wrong result -innodb.log_data_file_size : Modified in 10.2.7 -innodb.log_file : Modified in 10.2.7 -innodb.log_file_name : Modified in 10.2.7 -innodb.log_file_size : MDEV-13471 - Crash; modified in 10.2.7 -innodb.purge_thread_shutdown : Added in 10.2.8 -innodb.read_only_recovery : Modified in 10.2.8 +innodb.log_data_file_size : Modified in 10.2.9 +innodb.purge_thread_shutdown : MDEV-13792 - Wrong result; added in 10.2.8 +innodb.read_only_recovery : MDEV-13886 - Server crash, modified in 10.2.8 innodb.rename_table : Added in 10.2.8 -innodb.row_format_redundant : Added in 10.2.7 -innodb.table_flags : MDEV-13572 - Wrong result; added in 10.2.7 -innodb.temporary_table : MDEV-13265 - Wrong result; modified in 10.2.7 +innodb.table_flags : MDEV-13572 - Wrong result; modified in 10.2.9 +innodb.temporary_table : MDEV-13265 - Wrong result innodb.truncate_debug : MDEV-13256 - Timeout -innodb.truncate_purge_debug : Modified in 10.2.7 +innodb.xa_recovery : Modified in 10.2.9 innodb_fts.fulltext_misc : MDEV-12636 - Valgrind -innodb_fts.innodb_fts_plugin : Modified in 10.2.7 +innodb_fts.innodb_fts_plugin : MDEV-13888 - Errors in server log innodb_fts.innodb_fts_stopword_charset : MDEV-13259 - Table crashed innodb_gis.1 : Modified in 10.2.8 +innodb_gis.alter_spatial_index : Modified in 10.2.9 innodb_gis.gis : Modified in 10.2.8 -innodb_zip.bug36169 : Modified in 10.2.7 -innodb_zip.bug36172 : Modified in 10.2.7 -innodb_zip.bug52745 : Modified in 10.2.7 -innodb_zip.bug53591 : Modified in 10.2.7 -innodb_zip.bug56680 : Modified in 10.2.7 -innodb_zip.cmp_drop_table : Modified in 10.2.7 -innodb_zip.create_options : Modified in 10.2.7 -innodb_zip.innochecksum : Modified in 10.2.7 -innodb_zip.innochecksum_2 : Modified in 10.2.7 +innodb_zip.create_options : Modified in 10.2.9 innodb_zip.innochecksum_3 : MDEV-13279 - Extra warnings; modified in 10.2.8 -innodb_zip.innodb-zip : Modified in 10.2.7 -innodb_zip.recover : Modified in 10.2.7 -innodb_zip.restart : Modified in 10.2.7 innodb_zip.wl6501_1 : MDEV-10891 - Can't create UNIX socket -innodb_zip.wl5522_debug_zip : MDEV-11600 - Operating system error number 2; modified in 10.2.7 -innodb_zip.wl5522_zip : Modified in 10.2.7 -innodb_zip.wl6344_compress_level : Modified in 10.2.7 +innodb_zip.wl5522_debug_zip : MDEV-11600 - Operating system error number 2; modified in 10.2.9 innodb_zip.wl6501_scale_1 : MDEV-13254 - Timeout #---------------------------------------------------------------- maria.insert_select : MDEV-12757 - Timeout +maria.maria : Modified in 10.2.9 #---------------------------------------------------------------- -mariabackup.* : suite.pm and .opt modified in 10.2.7 - -mariabackup.full_backup : Modified in 10.2.7 +mariabackup.apply-log-only : Added in 10.2.9 +mariabackup.apply-log-only-incr : Added in 10.2.9 +mariabackup.auth_plugin_win : Added in 10.2.9 +mariabackup.full_backup : MDEV-13889 - Timeout mariabackup.huge_lsn : Added in 10.2.8 mariabackup.incremental_backup : Modified in 10.2.8 -mariabackup.incremental_encrypted : Modified in 10.2.7 -mariabackup.partial : Modified in 10.2.7 -mariabackup.partial_exclude : Modified in 10.2.7 -mariabackup.small_ibd : Modified in 10.2.7 -mariabackup.xb_aws_key_management : Modified in 10.2.7 -mariabackup.xb_compressed_encrypted : Modified in 10.2.7 -mariabackup.xb_file_key_management : Modified in 10.2.7 -mariabackup.xb_partition : Modified in 10.2.7 -mariabackup.xbstream : Modified in 10.2.7 +mariabackup.lock_ddl_per_table : Added in 10.2.9 +mariabackup.partial : Modified in 10.2.9 +mariabackup.xb_aws_key_management : Modified in 10.2.9 +mariabackup.xb_compressed_encrypted : MDEV-13890 - Assertion failure +mariabackup.xb_page_compress : Modified in 10.2.9 #---------------------------------------------------------------- @@ -341,15 +317,21 @@ mroonga/storage.index_multiple_column_unique_datetime_index_read : MDEV-8643 - V #---------------------------------------------------------------- multi_source.info_logs : MDEV-12629 - Valgrind -multi_source.mdev-9544 : Added in 10.2.7 multi_source.reset_slave : MDEV-10690 - Wrong result multi_source.simple : MDEV-4633 - Wrong result #---------------------------------------------------------------- -parts.longname : Added in 10.2.7 parts.partition_debug_innodb : MDEV-10891 - Can't create UNIX socket -parts.quoting : Added in 10.2.7 +parts.partition_exch_myisam_innodb : Modified in 10.2.9 +parts.partition_exch_qa_10 : Include files modified in 10.2.9 +parts.partition_exch_qa_11 : Include files modified in 10.2.9 +parts.partition_exch_qa_12 : Include files modified in 10.2.9 +parts.partition_exch_qa_14 : Modified in 10.2.9 +parts.partition_exch_qa_15 : Modified in 10.2.9 +parts.partition_exch_qa_2 : Modified in 10.2.9 +parts.partition_exch_qa_3 : Modified in 10.2.9 +parts.partition_exch_qa_6 : Modified in 10.2.9 #---------------------------------------------------------------- @@ -357,7 +339,7 @@ percona.* : MDEV-10997 - Not maintained #---------------------------------------------------------------- -perfschema.bad_option_2 : Modified in 10.2.7 +perfschema.bad_option_1 : MDEV-13892 - Timeout perfschema.bad_option_3 : MDEV-12728 - Timeout on Power perfschema.hostcache_ipv4_addrinfo_again_allow : MDEV-12759 - Crash perfschema.hostcache_ipv6_addrinfo_again_allow : MDEV-12752 - Crash @@ -366,7 +348,6 @@ perfschema.hostcache_ipv6_ssl : MDEV-10696 - Crash perfschema.privilege_table_io : Modified in 10.2.8 perfschema.setup_actors : MDEV-10679 - Crash perfschema.stage_mdl_procedure : MDEV-11545 - Missing row -perfschema.start_server_1_digest : Added in 10.2.7 #---------------------------------------------------------------- @@ -382,24 +363,16 @@ rocksdb.* : MyRocks is alpha-quality and tests are uns #---------------------------------------------------------------- -roles.current_role_view-12666 : Added in 10.2.7 -roles.show_create_database-10463 : Added in 10.2.7 - -#---------------------------------------------------------------- - -rpl.circular_serverid0 : Added in 10.2.7 rpl.rpl_binlog_errors : MDEV-12742 - Crash rpl.rpl_binlog_index : MDEV-9501 - Failed registering on master -rpl.rpl_domain_id_filter_io_crash : MDEV-12729 - Timeout in include file +rpl.rpl_domain_id_filter_io_crash : MDEV-12729 - Timeout in include file, MDEV-13677 - Server crash rpl.rpl_domain_id_filter_restart : MDEV-10684 - Wrong result -rpl.rpl_gtid_crash : MDEV-9501 - Failed registering on master -rpl.rpl_gtid_errorhandling : MDEV-13261 - Crash +rpl.rpl_gtid_crash : MDEV-9501 - Failed registering on master, MDEV-13643 - Lost connection +rpl.rpl_gtid_errorhandling : MDEV-13261 - Crash; modified in 10.2.9 rpl.rpl_gtid_stop_start : MDEV-11621 - Table marked as crashed, MDEV-12731 - Valgrind rpl.rpl_mariadb_slave_capability : MDEV-11018 - Extra lines in binlog -rpl.rpl_mdev-11092 : Added in 10.2.7 rpl.rpl_parallel : MDEV-12730 - Assertion failure rpl.rpl_parallel_mdev6589 : MDEV-12979 - Assertion failure -rpl.rpl_parallel_optimistic : Modified in 10.2.7 rpl.rpl_parallel_optimistic_nobinlog : MDEV-12746 - Timeouts, mismatch rpl.rpl_parallel_retry : MDEV-11119 - Crash rpl.rpl_temporal_mysql56_to_mariadb53 : MDEV-9501 - Failed registering on master @@ -410,8 +383,11 @@ rpl.rpl_skip_replication : MDEV-13258 - Extra warning rpl.rpl_slave_grp_exec : MDEV-10514 - Deadlock rpl.rpl_slow_query_log : MDEV-13250 - Test abort rpl.rpl_sp_effects : MDEV-13249 - Crash +rpl.rpl_sp_variables : Added in 10.2.9 rpl.rpl_start_stop_slave : MDEV-13567 - Sync slave timeout rpl.rpl_stm_multi_query : MDEV-9501 - Failed registering on master +rpl.rpl_stm_stop_middle_group : MDEV-13791 - Server crash +rpl.rpl_temporal_format_mariadb53_to_mysql56_dst : Added in 10.2.9 rpl.rpl_upgrade_master_info : MDEV-11620 - Table marked as crashed rpl/extra/rpl_tests.* : MDEV-10994 - Not maintained @@ -420,6 +396,9 @@ rpl/extra/rpl_tests.* : MDEV-10994 - Not maintained spider.basic_sql : MDEV-11186 - Internal check fails +spider/bg.direct_aggregate : MDEV-7098 - Packets out of order +spider/bg.spider3_fixes : MDEV-12639 - Syntax error + spider/handler.* : MDEV-10990 - Not maintained #---------------------------------------------------------------- @@ -434,21 +413,14 @@ storage_engine.* : Not always timely maintained #---------------------------------------------------------------- sys_vars.back_log_basic : Modified in 10.2.8 -sys_vars.delay_key_write_func : Modified in 10.2.7 -sys_vars.innodb_sched_priority_cleaner_basic : Modified in 10.2.7 sys_vars.rpl_init_slave_func : MDEV-10149 - Test assertion -sys_vars.tmp_disk_table_size_basic : Added in 10.2.7 -sys_vars.tmp_disk_table_size_func : Added in 10.2.7 -sys_vars.tmp_memory_table_size_basic : Added in 10.2.7 #---------------------------------------------------------------- -tokudb.background_job_manager : Modified in 10.2.7 -tokudb.bug-1657908 : Added in 10.2.7 tokudb.change_column_all_1000_10 : MDEV-12640 - Lost connection tokudb.change_column_bin : MDEV-12640 - Lost connection tokudb.change_column_char : MDEV-12822 - Lost connection -tokudb.dir_cmd : Added in 10.2.7 +tokudb.dir_per_db : MDEV-11537 - Wrong result; modified in 10.2.9 tokudb.hotindex-insert-bigchar : MDEV-12640 - Crash tokudb.hotindex-update-1 : MDEV-12640 - Crash tokudb.kill_query_blocked_in_lt : Added in 10.2.8 @@ -459,19 +431,11 @@ tokudb.rows-32m-seq-insert : MDEV-12640 - Crash tokudb_mariadb.mdev12972 : Modified in 10.2.8 tokudb_mariadb.mdev6657 : MDEV-12737 - Mismatch or valgrind -tokudb_backup.* : MDEV-11001 - Missing include file; suite.pm modified in 10.2.7 +tokudb_backup.* : MDEV-11001 - Missing include file tokudb_sys_vars.* : MDEV-11001 - Missing include file tokudb_rpl.* : MDEV-11001 - Missing include file -tokudb_backup.backup_master_info : Added in 10.2.7 -tokudb_backup.backup_master_state : Added in 10.2.7 -tokudb_backup.empty_slave_info_file : Added in 10.2.7 -tokudb_backup.innodb_use_native_aio_enabled : Added in 10.2.7 tokudb_backup.rpl_safe_slave : Include file modified in 10.2.8 -tokudb_backup.rpl_tokudb_commit_sync : Added in 10.2.7 - -tokudb_bugs.db233 : Modified in 10.2.7 -tokudb_bugs.leak172 : Modified in 10.2.7 tokudb_parts.partition_alter4_tokudb : MDEV-12640 - Lost connection @@ -511,12 +475,17 @@ unit.conc_ps_bugs : MDEV-13252 - not ok 44 test_bug4236 #---------------------------------------------------------------- -vcol.cross_db : Added in 10.2.7 -vcol.upgrade : Added in 10.2.7 +vcol.innodb_virtual_fk : Added in 10.2.9 +vcol.update : Modified in 10.2.9 +vcol.vcol_supported_sql_funcs : Include file modified in 10.2.9 #---------------------------------------------------------------- -wsrep.pool_of_threads : MDEV-12234 - GLIBCXX_3.4.20 not found; modified in 10.2.7 +wsrep.binlog_format : MDEV-11532 - Could not execute check-testcase +wsrep.foreign_key : Re-enabled in 10.2.9 +wsrep.mdev_6832 : Option file changed in 10.2.9 +wsrep.mdev_7798 : Option file changed in 10.2.9 +wsrep.pool_of_threads : MDEV-12234 - GLIBCXX_3.4.20 not found wsrep_info.plugin : MDEV-13569 - No nodes coming from prim view From 7128fefa4ce4746ad04158846242f0aec6cf8271 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sat, 23 Sep 2017 23:23:05 +0200 Subject: [PATCH 05/12] Fix compile with -DWITHOUT_DYNAMIC_PLUGINS on Unix --- sql/CMakeLists.txt | 13 ++----------- storage/mroonga/CMakeLists.txt | 3 +++ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index 846df00498f..2e63dac6f02 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -322,18 +322,9 @@ ADD_CUSTOM_TARGET( SET_TARGET_PROPERTIES(GenServerSource PROPERTIES EXCLUDE_FROM_ALL TRUE) IF(WIN32 OR HAVE_DLOPEN AND NOT DISABLE_SHARED) - ADD_LIBRARY(udf_example MODULE udf_example.c) + ADD_LIBRARY(udf_example MODULE udf_example.c udf_example.def) SET_TARGET_PROPERTIES(udf_example PROPERTIES PREFIX "") - # udf_example depends on strings - IF(WIN32) - IF(MSVC) - SET_TARGET_PROPERTIES(udf_example PROPERTIES LINK_FLAGS "/DEF:${CMAKE_CURRENT_SOURCE_DIR}/udf_example.def") - ENDIF() - TARGET_LINK_LIBRARIES(udf_example strings) - ELSE() - # udf_example is using safemutex exported by mysqld - TARGET_LINK_LIBRARIES(udf_example mysqld) - ENDIF() + TARGET_LINK_LIBRARIES(udf_example strings) ENDIF() FOREACH(tool glibtoolize libtoolize aclocal autoconf autoheader automake gtar diff --git a/storage/mroonga/CMakeLists.txt b/storage/mroonga/CMakeLists.txt index f728c944bbf..dc88be51184 100644 --- a/storage/mroonga/CMakeLists.txt +++ b/storage/mroonga/CMakeLists.txt @@ -326,6 +326,9 @@ if(MRN_BUNDLED) STORAGE_ENGINE MODULE_ONLY RECOMPILE_FOR_EMBEDDED LINK_LIBRARIES ${MRN_LIBRARIES}) + if(NOT TARGET mroonga) + return() + endif() else() add_library(mroonga MODULE ${MRN_ALL_SOURCES}) From 78b63425a3f17214b67891f44399fa5f084965e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Sun, 24 Sep 2017 10:11:16 +0300 Subject: [PATCH 06/12] MDEV-13899 IMPORT TABLESPACE may corrupt ROW_FORMAT=REDUNDANT tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ALTER TABLE…IMPORT TABLESPACE adjustment code that was introduced by WL#5522 in MySQL 5.6 is incorrectly invoking rec_get_status() on a ROW_FORMAT=REDUNDANT record to determine if a record is a leaf page record. The function rec_get_status(rec) is only to be called on ROW_FORMAT=COMPACT, DYNAMIC or COMPRESSED records. --- storage/innobase/row/row0import.cc | 12 ++++-------- storage/xtradb/row/row0import.cc | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/storage/innobase/row/row0import.cc b/storage/innobase/row/row0import.cc index 1337496b897..ca287b2d0d9 100644 --- a/storage/innobase/row/row0import.cc +++ b/storage/innobase/row/row0import.cc @@ -1819,16 +1819,12 @@ PageConverter::update_records( m_rec_iter.open(block); + if (!page_is_leaf(block->frame)) { + return DB_SUCCESS; + } + while (!m_rec_iter.end()) { - rec_t* rec = m_rec_iter.current(); - - /* FIXME: Move out of the loop */ - - if (rec_get_status(rec) == REC_STATUS_NODE_PTR) { - break; - } - ibool deleted = rec_get_deleted_flag(rec, comp); /* For the clustered index we have to adjust the BLOB diff --git a/storage/xtradb/row/row0import.cc b/storage/xtradb/row/row0import.cc index bc7b5206a64..572892172c4 100644 --- a/storage/xtradb/row/row0import.cc +++ b/storage/xtradb/row/row0import.cc @@ -1819,16 +1819,12 @@ PageConverter::update_records( m_rec_iter.open(block); + if (!page_is_leaf(block->frame)) { + return DB_SUCCESS; + } + while (!m_rec_iter.end()) { - rec_t* rec = m_rec_iter.current(); - - /* FIXME: Move out of the loop */ - - if (rec_get_status(rec) == REC_STATUS_NODE_PTR) { - break; - } - ibool deleted = rec_get_deleted_flag(rec, comp); /* For the clustered index we have to adjust the BLOB From ea2162b6aae020117bc5e0422b8e4629498163bf Mon Sep 17 00:00:00 2001 From: Varun Gupta Date: Sun, 24 Sep 2017 23:33:44 +0530 Subject: [PATCH 07/12] MDEV-11846: ERROR 1114 (HY000) table full when performing GROUP BY The problem is there is an overflow for the key_file_length. Added the maximum limit for the key_file_length --- storage/maria/ma_create.c | 41 +++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/storage/maria/ma_create.c b/storage/maria/ma_create.c index 0ddd8b226e2..ba4a70a4c51 100644 --- a/storage/maria/ma_create.c +++ b/storage/maria/ma_create.c @@ -660,11 +660,24 @@ int maria_create(const char *name, enum data_file_type datafile_type, if (length > max_key_length) max_key_length= length; - tot_length+= ((max_rows/(ulong) (((uint) maria_block_size - + + if (tot_length == ULLONG_MAX) + continue; + + ulonglong tot_length_part= (max_rows/(ulong) (((uint) maria_block_size - MAX_KEYPAGE_HEADER_SIZE - KEYPAGE_CHECKSUM_SIZE)/ - (length*2))) * - maria_block_size); + (length*2))); + if (tot_length_part >= (ULLONG_MAX / maria_block_size + + ULLONG_MAX % maria_block_size)) + tot_length= ULLONG_MAX; + else + { + if (tot_length > ULLONG_MAX - tot_length_part * maria_block_size) + tot_length= ULLONG_MAX; + else + tot_length+= tot_length_part * maria_block_size; + } } unique_key_parts=0; @@ -673,11 +686,24 @@ int maria_create(const char *name, enum data_file_type datafile_type, uniquedef->key=keys+i; unique_key_parts+=uniquedef->keysegs; share.state.key_root[keys+i]= HA_OFFSET_ERROR; - tot_length+= (max_rows/(ulong) (((uint) maria_block_size - + + if (tot_length == ULLONG_MAX) + continue; + ulonglong tot_length_part= (max_rows/(ulong) (((uint) maria_block_size - MAX_KEYPAGE_HEADER_SIZE - KEYPAGE_CHECKSUM_SIZE) / - ((MARIA_UNIQUE_HASH_LENGTH + pointer)*2)))* - (ulong) maria_block_size; + ((MARIA_UNIQUE_HASH_LENGTH + pointer)*2))); + + if (tot_length_part >= (ULLONG_MAX / maria_block_size + + ULLONG_MAX % maria_block_size)) + tot_length= ULLONG_MAX; + else + { + if (tot_length > ULLONG_MAX - tot_length_part * maria_block_size) + tot_length= ULLONG_MAX; + else + tot_length+= tot_length_part * maria_block_size; + } } keys+=uniques; /* Each unique has 1 key */ key_segs+=uniques; /* Each unique has 1 key seg */ @@ -746,8 +772,7 @@ int maria_create(const char *name, enum data_file_type datafile_type, Get estimate for index file length (this may be wrong for FT keys) This is used for pointers to other key pages. */ - tmp= (tot_length + maria_block_size * keys * - MARIA_INDEX_BLOCK_MARGIN) / maria_block_size; + tmp= (tot_length / maria_block_size + keys * MARIA_INDEX_BLOCK_MARGIN); /* use maximum of key_file_length we calculated and key_file_length value we From f91eb71e1cfaac56aa1c14b3681dbff3edc7eb0c Mon Sep 17 00:00:00 2001 From: Varun Gupta Date: Sun, 24 Sep 2017 23:37:57 +0530 Subject: [PATCH 08/12] MDEV-8840: ANALYZE FORMAT=JSON produces wrong data with BKA The issue was that r_loops, r_rows and r_filtered in ANALYZE FORMAT= JSON were not calculated for the table on which we were performing the MRR scan in the BKA join Fixed this by adding respective counter in the JOIN_TAB_SCAN_MRR::open and JOIN_TAB_SCAN_MRR::next --- mysql-test/r/explain_json.result | 6 +++--- sql/sql_join_cache.cc | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mysql-test/r/explain_json.result b/mysql-test/r/explain_json.result index a46a3bcefa5..9e5515f3cfa 100644 --- a/mysql-test/r/explain_json.result +++ b/mysql-test/r/explain_json.result @@ -1524,12 +1524,12 @@ ANALYZE "key_length": "5", "used_key_parts": ["a"], "ref": ["test.t3.a"], - "r_loops": 0, + "r_loops": 1, "rows": 1, - "r_rows": null, + "r_rows": 10, "r_total_time_ms": "REPLACED", "filtered": 100, - "r_filtered": null, + "r_filtered": 100, "index_condition_bka": "((t4.b + 1) <= (t3.b + 1))" }, "buffer_type": "flat", diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc index 1023aea4cd4..75e69298809 100644 --- a/sql/sql_join_cache.cc +++ b/sql/sql_join_cache.cc @@ -3877,6 +3877,7 @@ int JOIN_TAB_SCAN_MRR::open() /* Dynamic range access is never used with BKA */ DBUG_ASSERT(join_tab->use_quick != 2); + join_tab->tracker->r_scans++; save_or_restore_used_tabs(join_tab, FALSE); init_mrr_buff(); @@ -3920,6 +3921,8 @@ int JOIN_TAB_SCAN_MRR::next() int rc= join_tab->table->file->multi_range_read_next((range_id_t*)ptr) ? -1 : 0; if (!rc) { + join_tab->tracker->r_rows++; + join_tab->tracker->r_rows_after_where++; /* If a record in in an incremental cache contains no fields then the association for the last record in cache will be equal to cache->end_pos From 21614f4a85deaaa771e3333ef003882c17677674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 25 Sep 2017 09:29:27 +0300 Subject: [PATCH 09/12] MDEV-13898 Corruption during online table-rebuilding ALTER of ROW_FORMAT=REDUNDANT tables This bug is a regression caused by the code refactoring in commit f5a833c3e085524585d1ae5b8303c168f075dab3. It was not present in any release of the MariaDB server. The bug affects table-rebuilding ALTER TABLE when the source table is in ROW_FORMAT=REDUNDANT and contains no virtual columns. row_log_table_low_redundant(): Log virtual column data only if virtual columns are present. --- mysql-test/suite/innodb/r/innodb-table-online.result | 8 +++++++- mysql-test/suite/innodb/t/innodb-table-online.test | 8 +++++++- storage/innobase/row/row0log.cc | 8 +++----- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/mysql-test/suite/innodb/r/innodb-table-online.result b/mysql-test/suite/innodb/r/innodb-table-online.result index ec5199e4f52..d6a0d4785f5 100644 --- a/mysql-test/suite/innodb/r/innodb-table-online.result +++ b/mysql-test/suite/innodb/r/innodb-table-online.result @@ -167,7 +167,8 @@ ROLLBACK; connection con1; KILL QUERY @id; ERROR 70100: Query execution was interrupted -SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR kill_done'; +SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR dml_done'; +SET DEBUG_SYNC = 'row_log_table_apply2_before SIGNAL applied WAIT_FOR kill_done'; ALTER TABLE t1 ROW_FORMAT=REDUNDANT; # session default connection default; @@ -180,6 +181,10 @@ ddl_online_create_index 1 ddl_pending_alter_table 1 ddl_sort_file_alter_table 0 ddl_log_file_alter_table 0 +BEGIN; +INSERT INTO t1 VALUES(7,4,2); +ROLLBACK; +SET DEBUG_SYNC = 'now SIGNAL dml_done WAIT_FOR applied'; KILL QUERY @id; SET DEBUG_SYNC = 'now SIGNAL kill_done'; # session con1 @@ -227,6 +232,7 @@ t1 CREATE TABLE `t1` ( `c3` char(255) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT +ALTER TABLE t1 ROW_FORMAT=REDUNDANT; SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt2 WAIT_FOR dml2_done'; SET lock_wait_timeout = 10; ALTER TABLE t1 ROW_FORMAT=COMPACT, ALGORITHM = INPLACE; diff --git a/mysql-test/suite/innodb/t/innodb-table-online.test b/mysql-test/suite/innodb/t/innodb-table-online.test index 51f5445693e..d3fbeffd19f 100644 --- a/mysql-test/suite/innodb/t/innodb-table-online.test +++ b/mysql-test/suite/innodb/t/innodb-table-online.test @@ -158,7 +158,8 @@ let $ID= `SELECT @id := CONNECTION_ID()`; --error ER_QUERY_INTERRUPTED KILL QUERY @id; -SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR kill_done'; +SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR dml_done'; +SET DEBUG_SYNC = 'row_log_table_apply2_before SIGNAL applied WAIT_FOR kill_done'; --send ALTER TABLE t1 ROW_FORMAT=REDUNDANT; @@ -166,6 +167,10 @@ ALTER TABLE t1 ROW_FORMAT=REDUNDANT; connection default; SET DEBUG_SYNC = 'now WAIT_FOR rebuilt'; eval $innodb_metrics_select; +BEGIN; +INSERT INTO t1 VALUES(7,4,2); +ROLLBACK; +SET DEBUG_SYNC = 'now SIGNAL dml_done WAIT_FOR applied'; let $ignore= `SELECT @id := $ID`; KILL QUERY @id; SET DEBUG_SYNC = 'now SIGNAL kill_done'; @@ -201,6 +206,7 @@ WHERE variable_name = 'innodb_encryption_n_rowlog_blocks_encrypted'); --echo # session con1 connection con1; SHOW CREATE TABLE t1; +ALTER TABLE t1 ROW_FORMAT=REDUNDANT; # Exceed the configured innodb_online_alter_log_max_size. # The actual limit is a multiple of innodb_sort_buf_size, diff --git a/storage/innobase/row/row0log.cc b/storage/innobase/row/row0log.cc index 1385238f560..747959fcde5 100644 --- a/storage/innobase/row/row0log.cc +++ b/storage/innobase/row/row0log.cc @@ -853,7 +853,7 @@ row_log_table_low_redundant( size = rec_get_converted_size_temp( index, tuple->fields, tuple->n_fields, &extra_size); - ulint v_size = ventry + ulint v_size = num_v ? rec_get_converted_size_temp_v(index, ventry) : 0; mrec_size = ROW_LOG_HEADER_SIZE + size + v_size + (extra_size >= 0x80); @@ -909,12 +909,10 @@ row_log_table_low_redundant( rec_convert_dtuple_to_temp( b + extra_size, index, tuple->fields, tuple->n_fields); b += size; - if (ventry) { + ut_ad(!num_v == !v_size); + if (num_v) { rec_convert_dtuple_to_temp_v(b, new_index, ventry); b += v_size; - } - - if (num_v) { if (o_ventry) { rec_convert_dtuple_to_temp_v( b, new_index, o_ventry); From 19d21b9366c1eb5c1c1e822a09969e9a23bfe2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 25 Sep 2017 09:29:27 +0300 Subject: [PATCH 10/12] Cherry-pick the MDEV-13898 test changes from 10.2 to 10.0 --- mysql-test/suite/innodb/r/innodb-table-online.result | 8 +++++++- mysql-test/suite/innodb/t/innodb-table-online.test | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/mysql-test/suite/innodb/r/innodb-table-online.result b/mysql-test/suite/innodb/r/innodb-table-online.result index 5440df0bb9c..eb55ba57e36 100644 --- a/mysql-test/suite/innodb/r/innodb-table-online.result +++ b/mysql-test/suite/innodb/r/innodb-table-online.result @@ -143,7 +143,8 @@ ROLLBACK; # session con1 KILL QUERY @id; ERROR 70100: Query execution was interrupted -SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR kill_done'; +SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR dml_done'; +SET DEBUG_SYNC = 'row_log_table_apply2_before SIGNAL applied WAIT_FOR kill_done'; ALTER TABLE t1 ROW_FORMAT=REDUNDANT; # session default SET DEBUG_SYNC = 'now WAIT_FOR rebuilt'; @@ -153,6 +154,10 @@ ddl_background_drop_indexes 0 ddl_background_drop_tables 0 ddl_online_create_index 1 ddl_pending_alter_table 1 +BEGIN; +INSERT INTO t1 VALUES(7,4,2); +ROLLBACK; +SET DEBUG_SYNC = 'now SIGNAL dml_done WAIT_FOR applied'; KILL QUERY @id; SET DEBUG_SYNC = 'now SIGNAL kill_done'; # session con1 @@ -186,6 +191,7 @@ t1 CREATE TABLE `t1` ( `c3` text NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT +ALTER TABLE t1 ROW_FORMAT=REDUNDANT; SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt2 WAIT_FOR dml2_done'; SET lock_wait_timeout = 10; ALTER TABLE t1 ROW_FORMAT=COMPACT, ALGORITHM = INPLACE; diff --git a/mysql-test/suite/innodb/t/innodb-table-online.test b/mysql-test/suite/innodb/t/innodb-table-online.test index 4dce8e4d65f..4e9f2f13344 100644 --- a/mysql-test/suite/innodb/t/innodb-table-online.test +++ b/mysql-test/suite/innodb/t/innodb-table-online.test @@ -157,7 +157,8 @@ let $ID= `SELECT @id := CONNECTION_ID()`; --error ER_QUERY_INTERRUPTED KILL QUERY @id; -SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR kill_done'; +SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR dml_done'; +SET DEBUG_SYNC = 'row_log_table_apply2_before SIGNAL applied WAIT_FOR kill_done'; --send ALTER TABLE t1 ROW_FORMAT=REDUNDANT; @@ -165,6 +166,10 @@ ALTER TABLE t1 ROW_FORMAT=REDUNDANT; connection default; SET DEBUG_SYNC = 'now WAIT_FOR rebuilt'; eval $innodb_metrics_select; +BEGIN; +INSERT INTO t1 VALUES(7,4,2); +ROLLBACK; +SET DEBUG_SYNC = 'now SIGNAL dml_done WAIT_FOR applied'; let $ignore= `SELECT @id := $ID`; KILL QUERY @id; SET DEBUG_SYNC = 'now SIGNAL kill_done'; @@ -190,6 +195,7 @@ ANALYZE TABLE t1; --echo # session con1 connection con1; SHOW CREATE TABLE t1; +ALTER TABLE t1 ROW_FORMAT=REDUNDANT; # Exceed the configured innodb_online_alter_log_max_size. # The actual limit is a multiple of innodb_sort_buf_size, From 8acb2b7b28d58689071d8adec4e41074a17d6c0f Mon Sep 17 00:00:00 2001 From: Will Date: Fri, 22 Sep 2017 23:20:28 -0400 Subject: [PATCH 11/12] README.md - Secure (HTTPS) Links Made a few links in README.md secure (https). --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 58e08f89ca0..f46888e4b2f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors. A description of the MariaDB project and a manual can be found at: -http://mariadb.org/ +https://mariadb.org/ https://mariadb.com/kb/en/ https://mariadb.com/kb/en/mariadb-vs-mysql-features/ https://mariadb.com/kb/en/mariadb-versus-mysql-features/ @@ -55,9 +55,9 @@ Bug Reports: ------------ Bug and/or error reports regarding MariaDB should be submitted at -http://mariadb.org/jira +https://mariadb.org/jira -Bugs in the MySQL code can also be submitted at http://bugs.mysql.com +Bugs in the MySQL code can also be submitted at https://bugs.mysql.com The code for MariaDB, including all revision history, can be found at: https://github.com/MariaDB/server From 742263df4f43ac8ffb611de607fb8337296ae949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 25 Sep 2017 17:24:52 +0300 Subject: [PATCH 12/12] MDEV-13256 innodb.truncate_debug fails in buildbot 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. --- mysql-test/suite/innodb/r/truncate_debug.result | 6 ++++-- mysql-test/suite/innodb/t/truncate_debug.test | 9 +++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/mysql-test/suite/innodb/r/truncate_debug.result b/mysql-test/suite/innodb/r/truncate_debug.result index eb4e9cfbc85..c04b83dbbe8 100644 --- a/mysql-test/suite/innodb/r/truncate_debug.result +++ b/mysql-test/suite/innodb/r/truncate_debug.result @@ -1,6 +1,9 @@ # # Bug #23070734 CONCURRENT TRUNCATE TABLES CAUSE STALLS # +SET @ahi= @@global.innodb_adaptive_hash_index; +SET GLOBAL innodb_adaptive_hash_index=OFF; +SET GLOBAL innodb_adaptive_hash_index=ON; Test_1 :- Check if DDL operations are possible on table being truncated. Also check if DDL operations on other tables succeed. @@ -81,6 +84,5 @@ connection con2; disconnect con2; connection default; SET DEBUG_SYNC= 'RESET'; -SET session lock_wait_timeout=default; -set global innodb_adaptive_hash_index=on; +SET GLOBAL innodb_adaptive_hash_index=@ahi; drop table t1,t2,t3; diff --git a/mysql-test/suite/innodb/t/truncate_debug.test b/mysql-test/suite/innodb/t/truncate_debug.test index 915688ed354..5fee9174d98 100644 --- a/mysql-test/suite/innodb/t/truncate_debug.test +++ b/mysql-test/suite/innodb/t/truncate_debug.test @@ -8,6 +8,12 @@ --echo # Bug #23070734 CONCURRENT TRUNCATE TABLES CAUSE STALLS --echo # +SET @ahi= @@global.innodb_adaptive_hash_index; +# Ensure that there is no adaptive hash index on any system tables, +# or any other tables than the ones that we are creating below. +SET GLOBAL innodb_adaptive_hash_index=OFF; +SET GLOBAL innodb_adaptive_hash_index=ON; + --echo Test_1 :- Check if DDL operations are possible on --echo table being truncated. Also check if --echo DDL operations on other tables succeed. @@ -115,8 +121,7 @@ disconnect con2; connection default; SET DEBUG_SYNC= 'RESET'; -SET session lock_wait_timeout=default; -set global innodb_adaptive_hash_index=on; +SET GLOBAL innodb_adaptive_hash_index=@ahi; drop table t1,t2,t3; --source include/wait_until_count_sessions.inc