summaryrefslogtreecommitdiff
path: root/mysql-test/extra
Commit message (Collapse)AuthorAgeFilesLines
* Move extra/rpl_tests/table_index_statistics to suite/innodbMonty2018-03-291-59/+0
|
* Move mysql-test-run/extra/rpl_tests to suite/rpl/includeMichael Widenius2018-03-29100-23812/+0
| | | | | Renamed suite/rpl/include/rpl_sync.inc to rpl_sync_test.inc to remove clash with include/rpl_sync.inc
* Move mysql-test-run/extra/binlog to suite/binlog/includeMichael Widenius2018-03-2925-5965/+0
|
* MDEV-13073 This part merges the Ali semisync related changesAndrei Elkin2017-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | and specifically the ack receiving functionality. Semisync is turned to be static instead of plugin so its functions are invoked at the same points as RUN_HOOKS. The RUN_HOOKS and the observer interface remain to be removed by later patch. Todo: React on killed status by repl_semisync_master.wait_after_sync(). Currently Repl_semi_sync_master::commit_trx does not check the killed status. There were few bugfixes found that are present in mysql and its unclear whether/how they are covered. Those include: Bug#15985893: GTID SKIPPED EVENTS ON MASTER CAUSE SEMI SYNC TIME-OUTS Bug#17932935 CALLING IS_SEMI_SYNC_SLAVE() IN EACH FUNCTION CALL HAS BAD PERFORMANCE Bug#20574628: SEMI-SYNC REPLICATION PERFORMANCE DEGRADES WITH A HIGH NUMBER OF THREADS
* Moved semisync from a plugin to normal serverMonty2017-12-181-1/+0
| | | | | | | | | | | | Part of MDEV-13073 AliSQL Optimize performance of semisync Did the following renames to match other similar variables key_ss_mutex_LOCK_binlog_ > key_LOCK_bing key_ss_cond_COND_binlog_send_ -> key_COND_binlog_send COND_binlog_send_ -> COND_binlog_send LOCK_binlog_ -> LOCK_binlog debian/mariadb-server-10.2.install does not install semisync libs.
* Merge bb-10.2-ext into 10.3Marko Mäkelä2017-12-061-0/+2
|\
| * Merge 10.2 into bb-10.2-extMarko Mäkelä2017-12-061-0/+2
| |\
| | * Merge 10.1 into 10.2Marko Mäkelä2017-12-051-0/+2
| | |\
| | | * MDEV-10688 rpl.rpl_row_log_innodb failed in buildbotMonty2017-12-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem was that Binlog_checkpoint can happen at random times. Fixed by not write binlog_checkpoint for the rpl_log test. Other things: - Removed not used variable "$keep_gtid_events" - Added option for show_binlog_events to skip binlog_checkpoint
* | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-11-102-3/+3
|\ \ \ \ | |/ / /
| * | | Rename some errors that uses MySQL -> MariaDBMonty2017-11-052-3/+3
| | | |
* | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-09-258-8/+9
|\ \ \ \ | |/ / /
| * | | Merge branch '10.2' into bb-10.2-extSergei Golubchik2017-09-238-8/+9
| |\ \ \ | | |/ /
| | * | Merge branch '10.1' into 10.2Sergei Golubchik2017-09-228-8/+9
| | |\ \ | | | |/ | | | | | | | | | | | | But without f4f48e06215..f8a800bec81 - fixes for MDEV-12672 and related issues. 10.2 specific fix follows...
| | | * Merge branch '10.0' into 10.1Sergei Golubchik2017-09-219-9/+10
| | | |\
| | | | * include/master-slave.inc must always be included lastSergei Golubchik2017-09-201-1/+1
| | | | |
* | | | | MDEV-12179: Per-engine mysql.gtid_slave_pos tableKristian Nielsen2017-07-031-0/+8
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | Merge into MariaDB 10.3.
| * | | | Use separate connection for START SLAVE in rpl_deadlock.testKristian Nielsen2017-04-211-0/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | START SLAVE is documented to implicitly commit any active transaction. So do this in a separate connection, to not break the lock on which the test case depends. Found during MDEV-12179 development, but independent of this, so done in a separate commit.
* | | | MDEV-12685 Oracle-compatible function CHR()halfspawn2017-05-081-0/+28
|/ / /
* | | search_pattern_in_file.inc changesSergei Golubchik2017-03-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Special mode to search in error logs: if SEARCH_RANGE is not set, the file is considered an error log and the search is performed since the last CURRENT_TEST: line 2. Number of matches is printed too. "FOUND 5 /foo/ in bar". Use greedy .* at the end of the pattern if number of matches isn't stable. If nothing is found it's still "NOT FOUND", not "FOUND 0". 3. SEARCH_ABORT specifies the prefix of the output. Can be "NOT FOUND" or "FOUND" as before, but also "FOUND 5 " if needed.
* | | Merge branch '10.2-MDEV-120555-test_binlog_stm_ctype_ucs' of ↵Alexander Barkov2017-03-071-1/+1
|\ \ \ | | | | | | | | | | | | https://github.com/grooverdan/mariadb-server into grooverdan-10.2-MDEV-120555-test_binlog_stm_ctype_ucs
| * | | MDEV-12055: Correct binlog_stm_ctype_ucs testDaniel Black2017-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix from MDEV-10866 was insufficient. Attempt 2 at fixing this. binlog.binlog_row_ctype_ucs 'row' w18 [ fail ] Test ended at 2017-02-13 10:36:57 CURRENT_TEST: binlog.binlog_row_ctype_ucs --- /mariadb/mysql-test/suite/binlog/r/binlog_row_ctype_ucs.result 2017-02-06 09:29:43.116183650 +1100 +++ /mariadb/mysql-test/suite/binlog/r/binlog_row_ctype_ucs.reject 2017-02-13 10:36:56.984056229 +1100 @@ -71,21 +71,21 @@ /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; DELIMITER /*!*/; # at # -#700101 6:46:40 server id # end_log_pos # CRC32 XXX Start: binlog v 4, server v #.##.## created 700101 6:46:40 +#170213 10:36:56 server id # end_log_pos # CRC32 XXX Start: binlog v 4, server v #.##.## created 170213 10:36:56 # at # -#700101 6:46:40 server id # end_log_pos # CRC32 XXX Gtid list [#-#-#] +#170213 10:36:56 server id # end_log_pos # CRC32 XXX Gtid list [#-#-#] # at # -#700101 6:46:40 server id # end_log_pos # CRC32 XXX Binlog checkpoint master-bin.000002 +#170213 10:36:56 server id # end_log_pos # CRC32 XXX Binlog checkpoint master-bin.000002 # at # -#700101 6:46:40 server id # end_log_pos # CRC32 XXX Binlog checkpoint master-bin.000003 +#170213 10:36:56 server id # end_log_pos # CRC32 XXX Binlog checkpoint master-bin.000003 # at # -#700101 6:46:40 server id # end_log_pos # CRC32 XXX GTID #-#-# ddl +#170213 10:36:56 server id # end_log_pos # CRC32 XXX GTID #-#-# ddl /*!100101 SET @@session.skip_parallel_replication=0*//*!*/; /*!100001 SET @@session.gtid_domain_id=#*//*!*/; /*!100001 SET @@session.server_id=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/; # at # -#700101 6:46:40 server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 +#170213 10:36:56 server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 use `test`/*!*/; SET TIMESTAMP=XXX/*!*/; SET @@session.pseudo_thread_id=#/*!*/; Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* | | | sporadic failures of rpl.rpl_binlog_errorsSergei Golubchik2017-02-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the test restarts the server, giving it 60 seconds to shutdown and then killing it mercilessly. make sure the server closes all MyISAM tables before shutdown, as we cannot reliably expect it to make the deadline.
* | | | fix rpl_binlog_errors test not to leave dbug enabledSergei Golubchik2017-02-131-4/+4
|/ / /
* | | Merge branch 'bb-10.2-serg-merge' into 10.2Sergei Golubchik2017-02-111-1/+1
|\ \ \
| * \ \ Merge branch '10.1' into 10.2Sergei Golubchik2017-02-101-1/+1
| |\ \ \ | | |/ /
| | * | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2017-01-161-1/+1
| | |\ \ | | | |/
* | | | MDEV-7635: Additional test fixesElena Stepanova2017-02-102-7/+4
| | | |
* | | | MDEV-7635: Update tests to adapt to the new default sql_modeNirbhay Choubey2017-02-109-27/+43
| | | |
* | | | MDEV-7635: Test fixesNirbhay Choubey2017-02-102-8/+12
| | | |
* | | | MDEV-7635: Part 1Nirbhay Choubey2017-02-104-2/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | innodb_autoinc_lock_mode = 2 innodb_buffer_pool_dump_at_shutdown = ON innodb_buffer_pool_dump_pct = 25 innodb_buffer_pool_load_at_startup = ON innodb_checksum_algorithm = CRC32 innodb_file_format = Barracuda innodb_large_prefix = ON innodb_log_compressed_pages = ON innodb_purge_threads = 4 innodb_strict_mode = ON binlog_annotate_row_events = ON binlog_format = MIXED binlog-row-event-max-size = 8192 group_concat_max_len = 1M lock_wait_timeout = 86400 log_slow_admin_statements = ON log_slow_slave_statements = ON log_warnings = 2 max_allowed_packet = 16M replicate_annotate_row_events = ON slave_net_timeout = 60 sync_binlog = 1 aria_recover = BACKUP,QUICK myisam_recover_options = BACKUP,QUICK
* | | Adjusted more tests after the fix for mdev-9976.Igor Babaev2017-02-011-1/+1
| | |
* | | cleanup: binlog.binlog_row_annotateSergei Golubchik2016-12-291-30/+7
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2016-12-2935-1/+8401
|\ \ \ | |/ /
| * | Merge branch '10.0' into 10.1Sergei Golubchik2016-12-113-5/+64
| |\ \ | | |/
| | * Merge branch 'merge/merge-tokudb-5.6' into 10.0Sergei Golubchik2016-12-041-1/+1
| | |
| | * import a test case from percona-server-5.6.34-79.1Sergei Golubchik2016-12-041-0/+59
| | |
| * | MDEV-11491 binlog_encryption.rpl_checksum fails sporadically in buildbotElena Stepanova2016-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The race condition happened if mark_xid_done was considerably delayed, and an extra Binlog_checkpoint event was written into the binary log which was later indicated in an error message. Fixed by ensuring that the event is written before the binary log is rotated to the one which is used in the output.
| * | fix binlog_encryption.binlog_incident testSergei Golubchik2016-12-062-10/+2
| | |
| * | MDEV-9038 Binlog encryption testsElena Stepanova2016-12-0532-0/+8643
| | | | | | | | | | | | | | | | | | | | | - created binlog_encryption test suite and added it to the default list - moved some tests from rpl, binlog and multisource suites to extra so that they could be re-used in different suites - made minor changes in include files
| * | Merge branch '10.0-galera' into 10.1Sergei Golubchik2016-11-021-1/+1
| |\ \
| | * \ Merge tag 'mariadb-10.0.28' into 10.0-galeraNirbhay Choubey2016-10-281-1/+1
| | |\ \ | | | |/
| | | * Upstream MIPS test fixes from Debian Bug 838557.Kristian Nielsen2016-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838557 MIPS has a different errno for "directory not empty".
| | * | Merge branch '10.0' into 10.0-galeraNirbhay Choubey2016-04-291-1/+1
| | |\ \
| | * \ \ Merge tag 'mariadb-10.0.24' into 10.0-galeraNirbhay Choubey2016-02-231-1/+7
| | |\ \ \
| | * \ \ \ Merge tag 'mariadb-10.0.23' into 10.0-galeraNirbhay Choubey2015-12-194-25/+5
| | |\ \ \ \
| | * \ \ \ \ Merge tag 'mariadb-10.0.21' into 10.0-galeraNirbhay Choubey2015-08-081-1/+1
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge tag 'mariadb-10.0.19' into 10.0-galeraNirbhay Choubey2015-05-091-0/+29
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge tag 'mariadb-10.0.17' into 10.0-galeraNirbhay Choubey2015-02-271-1/+1
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: storage/innobase/include/trx0trx.h
| | * \ \ \ \ \ \ \ Merge branch '10.0' into 10.0-galeraNirbhay Choubey2015-02-181-0/+35
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 10.0 till revision: f37bdd9 - Merge remote-tracking branch 'github/10.0' into 10.0 Conflicts: .bzrignore storage/xtradb/CMakeLists.txt