summaryrefslogtreecommitdiff
path: root/mysql-test/suite/binlog_encryption
Commit message (Collapse)AuthorAgeFilesLines
* Updated mtr files to support different compiled in optionsMonty2019-09-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows one to run the test suite even if any of the following options are changed: - character-set-server - collation-server - join-cache-level - log-basename - max-allowed-packet - optimizer-switch - query-cache-size and query-cache-type - skip-name-resolve - table-definition-cache - table-open-cache - Some innodb options etc Changes: - Don't print out the value of system variables as one can't depend on them to being constants. - Don't set global variables to 'default' as the default may not be the same as the test was started with if there was an additional option file. Instead save original value and reset it at end of test. - Test that depends on the latin1 character set should include default_charset.inc or set the character set to latin1 - Test that depends on the original optimizer switch, should include default_optimizer_switch.inc - Test that depends on the value of a specific system variable should set it in the test (like optimizer_use_condition_selectivity) - Split subselect3.test into subselect3.test and subselect3.inc to make it easier to set and reset system variables. - Added .opt files for test that required specfic options that could be changed by external configuration files. - Fixed result files in rockdsb & tokudb that had not been updated for a while.
* MDEV-17098 DATE -> DATETIME replication conversion not working, even in ↵Andrei Elkin2018-10-161-0/+44
| | | | | | ALL_NON_LOSSY mode Opened up MYSQL_TYPE _DATETIME{,2} <-> _NEWDATE conversions for replication.
* Allow tests to work with cmake -DPLUGIN_PARTITION=NOMarko Mäkelä2018-05-293-1/+2
|
* Test cleanup for MDEV-15833 (uncommenting forgotten tests)Alexander Barkov2018-04-101-0/+8
|
* MDEV-15833 Row format replication between LONGBLOB and MEDIUMBLOB does not ↵Alexander Barkov2018-04-101-3/+75
| | | | | | | | | | | | | | | | work for long values The code in Type_handler_blob****::make_conversion_table_field() erroneously assumed that row format replication uses MYSQL_TYPE_TINYBLOB, MYSQL_TYPE_BLOB, MYSQL_TYPE_MEDIUMBLOB, MYSQL_TYPE_LONGBLOB type codes to tranfer BLOB variations. In fact, all BLOB variations use MYSQL_TYPE_BLOB as the type code, while the BLOB packlength (1,2,3 or 4) it tranferred in metadata. The bug was introduced by aee068085ddb13f700780eeb61fce29c1e37df63 (MDEV-9238 Wrap create_virtual_tmp_table() into a class, split into different steps)
* search_pattern_in_file.inc changesSergei Golubchik2017-03-3110-26/+32
| | | | | | | | | | | | | 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.
* 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: Update tests to adapt to the new default sql_modeNirbhay Choubey2017-02-105-2/+21
|/ /
* | Adjusted more tests after the fix for mdev-9976.Igor Babaev2017-02-011-2/+2
| |
* | Follow-up for MDEV-11065 - add tests for compressed+encrypted binlogElena Stepanova2017-01-233-0/+18
| |
* | cleanup: binlog.binlog_row_annotateSergei Golubchik2016-12-291-151/+118
| |
* | Merge branch '10.1' into 10.2Sergei Golubchik2016-12-2934-399/+769
|/
* Merge branch '10.0' into 10.1Sergei Golubchik2016-12-112-5/+5
|
* MDEV-11504 binlog_encryption.encrypted_master_switch_to_unencrypted fails ↵Elena Stepanova2016-12-082-3/+17
| | | | | | | | | sporadically in buildbot The reason is a simple race condition. Initially the test was meant to synchronize with master before showing tables, but it turned out that the slave IO thread should fail by this point, and synchronization was removed along with a server bugfix. Now added an intermediate sync instead, to make sure that slave has replicated events before the point of failure
* fix binlog_encryption.binlog_incident testSergei Golubchik2016-12-063-3/+1
|
* MDEV-11319 mysqlbinlog crashes or fails with out of memory while reading ↵Sergei Golubchik2016-12-062-0/+27
| | | | | | | some encrypted binlogs support encrypted binlogs. Not decryption, but at least recognizing that event are encrypted and prining them as such
* MDEV-11288 Server crashes in Binlog_crypt_data::init trying to feed ↵Sergei Golubchik2016-12-063-9/+97
| | | | encrypted log without decryption capabilities
* MDEV-9038 Binlog encryption testsElena Stepanova2016-12-05112-0/+9426
- 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