Console View
|
Categories: connectors experimental galera main |
|
| connectors | experimental | galera | main | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sergei Golubchik
serg@mariadb.org |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-39676 disallow global.wsrep_sst_donor=NULL again it crashes in galera.mdev-28433 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Alexey Botchkov
holyfoot@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42392 XMLISVALID: attribute on xs:anyType element ends validation of that element, invalid XML accepted. Push the st->annotation for attribute of the anyType. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Merge 12.3 into 13.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Marko Mäkelä
marko.makela@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42500 WIP: BACKUP SERVER streaming using the client protocol The intention of this prototype is to have the plain "BACKUP SERVER" command send a tar stream, in "rows" of integer multiples of 512 bytes. For now, we only send 2 dummy rows instead of actual stream. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Jan Lindström
jan.lindstrom@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Set version to 10.4.34-6442 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sergei Golubchik
serg@mariadb.org |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-39676 disallow global.wsrep_sst_donor=NULL again it crashes in galera.mdev-28433 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Merge 11.8 into 12.3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GnuTLS: report a failed send as CR_SERVER_LOST GNUTLS_E_PUSH_ERROR was reported as 'Error in the push function.', without the system error. It means the peer closed the connection, which is how the OpenSSL backend reports it (CR_SERVER_LOST with errno). Assisted-by: Claude:claude-sonnet-5-5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Merge 3.3 into 3.4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42570 rpl.rpl_start_alter_restart_master fails when run in a chain of tests The test shows the slave binary log from the beginning, including the replicated mtr.add_suppression() transaction. How that transaction ends in the slave binary log depends on the engine of mysql.gtid_slave_pos, because the slave updates the table within the same transaction. With Aria (the default under MTR) it ends with Query COMMIT. With InnoDB, InnoDB takes part in the transaction and it ends with Xid COMMIT. Many replication tests change mysql.gtid_slave_pos to InnoDB and don't restore it, for example rpl_start_alter_mysqlbinlog_1, and check-testcase does not check table engines. When mtr reuses the servers after such a test, the result mismatches. The test passes after a restart or with --repeat, because then the table is in Aria. Set the engine of mysql.gtid_slave_pos on the slave to Aria explicitly at the beginning of the test, so that the result does not depend on previous tests. Assisted-by: Claude:claude-opus-5-5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
zeyad zahran
20912023100721@fci.zu.edu.eg |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-40743 slave does not retry connect in some cases even when master_retry_count=0 is set try_to_reconnect() compared retry_count with master_retry_count without exempting 0, so 0 acted like 1. If connecting worked but the setup or reading after it failed twice with no event in between, the I/O thread exited without any error. Skip the limit when master_retry_count is 0, like connect_to_master() does. Non-zero values keep working as before. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GnuTLS: report a failed send as CR_SERVER_LOST GNUTLS_E_PUSH_ERROR was reported as 'Error in the push function.', without the system error. It means the peer closed the connection, which is how the OpenSSL backend reports it (CR_SERVER_LOST with errno). Assisted-by: Claude:claude-sonnet-5-5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hemant Dangi
hemant.dangi@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-39648: wsrep_sst_rsync.sh: apply safe() to joiner-supplied parameters Issue: wsrep_sst_rsync.sh interpolated WSREP_SST_OPT_REMOTE_USER and WSREP_SST_OPT_REMOTE_PSWD verbatim. Because both values originate from the joiner side of the SST request, a newline in either could splice an extra directive into the donor-written stunnel.conf (silently downgrading peer-cert verification) or an extra line into the rsync magic file. MDEV-39413 had introduced safe() for the same threat class in wsrep_sst_mariabackup but did not extend it to the rsync script. Solution: Routing the rsync interpolations through safe() closes the gap, and extending safe() to also reject tab and newline ensures multi-line values cannot survive into a config-file heredoc. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Merge remote-tracking branch 'origin/bb-10.11-elenst' into bb-11.4-elenst | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42198 Options from MTR opt files are added multiple times Options from .opt files of included files were appended every time the file was sourced, so they got repeated once per include path. It caused unnecessary server restarts, and too long server command lines lead to startup failures on Windows. Now each file caches only its own .opt options plus an ordered list of the files (itself and everything it sources) whose options apply, each file listed once. The test's options are assembled from that list. Options of included files still precede those of the including file. If a file is sourced several times, its options are applied at the place of its last inclusion, so the effective option values stay the same as before, and a test can still source a file again to override options set by files sourced in between. Assisted-by: Claude:claude-opus-5-5 Reviewed-by: Alice Sherepa |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
rpl.rpl_corrupted_decimal_precision fails with timeout Due to MDEV-42580, if an earlier test ever set a replication filter, the SQL abort expected in rpl.rpl_corrupted_decimal_precision never happens, and the test fails with a timeout. To avoid it, temporarily enforce the slave restart at the beginning of the test. It should be removed when the bug is fixed |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Merge 13.2 into main | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42237 rpl.rpl_read_old_relay_log_info fails on Windows (Linux-style path) rpl.rpl_read_old_relay_log_info fails because the test overrides relay-log.info with the Linux-style ./slave-relay-bin.000001, while Windows uses the format with backslashes, .\slave-relay-bin.000001. The patch modifies the file contents using a perl block, which keeps the relay log name intact and only replaces the position. Thus the name remains valid for whatever system the test is run on. Assisted-by: Claude:claude-opus-5-5 Reviewed-by: Susil Behera |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Vladislav Vaintroub
vvaintroub@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix 11.8 build with system PCRE2 on FreeBSD import_util linked the bare pcre2-posix/pcre2-8 libraries and got no include directory, so pcre2posix.h was not found. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Jan Lindström
jan.lindstrom@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Set version to 10.4.34-6442 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42202 perfschema.relaylog fails when run after other replication tests The test checks file I/O instrumentation accumulated since server startup, so it relied on getting freshly started servers. With duplicate options removed, mtr may now reuse servers left by a previous replication test, and the test sees binary/relay log files and statistics from it. Restart both servers at the beginning of the test, removing binary and relay logs while the servers are down. RESET MASTER and RESET SLAVE are not sufficient, as performance schema keeps instances of files deleted by them, and a restart opens a new binary log anyway. Assisted-by: Claude:claude-opus-5-5 Reviewed-by: Susil Behera |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42586 rpl.warn_slaves_not_needed_for_purge fails when run in a chain of tests The warning about the @@slave_connections_needed_for_purge default is printed only once per server process: warn_slaves_not_needed_for_purge is cleared by the first COM_REGISTER_SLAVE and whenever the variable is set, either on the command line or with SET. The test assumed the flag was still set when it started. MTR reuses running servers between tests, so after a previous test whose slave connected to the master, or after the test itself (it ends with SET @@GLOBAL.slave_connections_needed_for_purge= DEFAULT), the flag was already cleared. The warning was then never logged in this test's section of the error log, and both expected-FOUND checks failed. This happened with --repeat and when the test ran after another replication test. Restart the master at the beginning of the test, before the slave connects, so the test always starts with the flag set. Assisted-by: Claude:claude-opus-5-5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
zeyad zahran
20912023100721@fci.zu.edu.eg |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Cherry-pick c803b98864d to 12.3 MDEV-40743 slave does not retry connect in some cases even when master_retry_count=0 is set try_to_reconnect() compared retry_count with master_retry_count without exempting 0, so 0 acted like 1. If connecting worked but the setup or reading after it failed twice with no event in between, the I/O thread exited without any error. Skip the limit when master_retry_count is 0, like connect_to_master() does. Non-zero values keep working as before. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42200 main.mysqlbinlog_stmt_compressed depends on previous tests The test ran mysqlbinlog on the current binlog file from the start, and if that file still held the previous test's events, it would cause a mismatch. Additionally, thread_id value depended on the chain of tests. The part for thread_id is taken from 11.8, to preserve consistency. Assisted-by: Claude:claude-sonnet-5-5 Reviewed-by: Kristian Nielsen |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42228 MTR tests fail with "File already exist" for .expect files on Windows On Windows mtr workers are threads of one process, so a handle opened while reading the .expect file could be inherited by a server spawned at the same time by another worker. That kept the file from being deleted for the lifetime of that server, and the next --write_file of the .expect file failed with "File already exist". Read the .expect file under the spawn lock. Assisted-by: Claude:claude-opus-5-5 Reviewed-by: Vladislav Vaintroub |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42567 rpl.rpl_change_master_implicit_gtid_warning fails with "Can't initialize replace" when run after another test The test stopped the slave right after include/master-slave.inc and then built CHANGE MASTER coordinates from SHOW SLAVE STATUS. But master-slave.inc only waits for Slave_IO_Running=Yes, which the IO thread reports right after sending COM_BINLOG_DUMP, before it has received anything from the master. If STOP SLAVE arrives before the master's initial fake Rotate event, Master_Log_File is still empty and --replace_result fails with "Can't initialize replace from 'replace_result $io_log_file ...'". The race is lost reliably when the test runs after another replication test (e.g. with --repeat) over a non-TLS replication connection, which is the default in 10.11. There the master's dump thread from the previous test is still waiting for binlog updates when the slave reconnects, and kill_zombie_dump_threads() delays the new dump by at least 100 ms. With TLS replication (the default in 11.4+) the old dump thread is already gone and the test passes; 11.4 with --skip-ssl fails the same way as 10.11. Fix: sync the slave with the master before stopping it, so that the IO thread has read the master's initial events and Master_Log_File and Read_Master_Log_Pos are populated. The result file is unchanged. Assisted-by: Claude:claude-opus-5-5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hemant Dangi
hemant.dangi@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-39721: wsrep_notify.cc: reject shell-unsafe characters in joiner-supplied member fields Issue: wsrep_notify_status() interpolated members[i].name() (the peer's wsrep_node_name) and members[i].incoming() verbatim into a command string that is then executed via 'sh -c' by wsp::process. A peer joining the cluster with shell metacharacters in its wsrep_node_name or wsrep_node_incoming_address caused arbitrary commands to run on every cluster member that had wsrep_notify_cmd configured. MDEV-39413 introduced safe() for the same threat class in the SST scripts but did not cover the C++ wsrep_notify path. Solution: Validate each substituted field against a narrow whitelist before interpolating. Node name allows alnum and -_. ; node address additionally allows :[]/ for host:port and [ipv6] forms. On bad input the notification is skipped with an error log instead of forwarding the unsafe value to sh -c. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42236 rpl.rpl_change_master_long_channel_name fails on Windows (too long path) rpl.rpl_change_master_long_channel_name fails on Windows because it expects a 252-character name (base name, excluding the path) to be valid; on Windows the whole path is limited to 260 characters, so a 252-character name makes it too long. The patch disables the test for Windows. Reviewed-by: Susil Behera |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Mohammad Tafzeel Shams
tafzeel.shams@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-37685 : BtrBulk compression level changes during bulk load cause index inconsistency BtrBulk::finish() copies the records of the single top-level page into the root page of the index and compresses the root page again. PageBulk::compress() read the global innodb_compression_level on every call. If SET GLOBAL innodb_compression_level lowered the level between the compression of the top-level page and that of the root page, the root page could fail to compress although the identical top-level page had been compressed successfully. BtrBulk::pageSplit() would then split the root page, giving it a right sibling and a parent page that is not reachable from the data dictionary. Fix: BtrBulk::m_compression_level: innodb_compression_level at the start of the bulk load, used for compressing every page. PageBulk::compress(): Take the compression level as a parameter. BtrBulk::finish(): Add the DEBUG_SYNC point btr_bulk_finish_before_root for the test. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Alexey Botchkov
holyfoot@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42389 XMLISVALID: stack overflow in XMLSchema_std_attributes::validate_attr with circular xs:attributeGroup. check the attributeGroup for possible circular references or nesting being too long. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Khaled Riyad
khaled57.dev@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-10584 Obscure plain text passwords from server logs Plain text passwords in SQL statements were written as is to the general log, the slow log and the replica error message. The lexer now records the raw range of each text literal, and the grammar marks the ones that are passwords. After parsing, a copy of the statement with each password replaced by `<secret>` is used by these logs. Prepared statements and stored routine statements keep their own copy. To mask each statement, the general log is now written after parsing, one row per statement of a multi-statement packet. The row of `PREPARE` and `EXECUTE IMMEDIATE` shows the source as `<secret>` when it holds a password. A statement that fails to parse is written to neither the general nor the slow log, as it may hold a password. `--log-raw` turns masking off and writes the general log before parsing, as before. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elena Stepanova
elenst@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42238 rpl.rpl_row_mysqlbinlog fails on Windows (charset problem) rpl.rpl_row_mysqlbinlog fails because apparently the client command line on Windows cannot interpret the literal cp932 string which is passed to it. Since the point of the test is not how the original INSERT happens, but how it further works while replaying the binlog, it should be acceptable to insert a hex-encoded value Reviewed-by: Susil Behera |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Jan Lindström
jan.lindstrom@mariadb.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-42493 : Galera test failure on galera_toi_definer_check Since MDEV-29668 (11.0) only SET USER, not SUPER, satisfies the DEFINER check, so the error message lists only SET USER. The test was recorded on 10.11. Update the result file. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
forkfun
alice.sherepa@gmail.com |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MDEV-41935 STR_TO_DATE returns NULL only when en_US locale is omitted under utf8mb4_bin STR_TO_DATE() with month or day names (%M %b %W %a) and no locale argument returned NULL with warning 1411 when the value had a case-sensitive collation: utf8mb4_bin, *_cs, turkish_ci or VARBINARY. Names are now compared in utf8mb4_general_ci whatever the collation of the value, as in TO_DATE(). Since MDEV-26112, opening a table created before 12.3.2 failed with error 1901 if a CHECK constraint, a STORED column or an indexed VIRTUAL column used a two-argument STR_TO_DATE(). Names in these tables are read as English: 'en_US' is added as the third argument, SHOW CREATE TABLE shows it, and CHECK and REPAIR TABLE keep it. A two-argument STR_TO_DATE() is allowed again in such columns if its format has no names; with names, a CREATE from an older server's dump still fails. Also: - name matching: the longest name wins, a complete name needs no word boundary after it ('01Jan2026'), and standalone and formatting month names are tried together (fi_FI 'marraskuuta'); an ambiguous prefix gives NULL (fi_FI 'Mar', pl_PL 'S'), and English does not decide it - combining marks after a letter are skipped, so NFC and decomposed spellings match ('Tháng bảy' in vi_VN gave month 3 or NULL) - English names are accepted in the session locale, as before MDEV-26112; not with an explicit locale, nor in TO_DATE() - no SIGSEGV for a utf16/utf32 value with a binary format - a prepared statement no longer keeps the locale of a previous run - the locale argument is left out of collation aggregation - a utf8mb4 or binary value is no longer copied per row; an 8-bit one is converted - fa_AF had the locale number 125 of uz_Latn_UZ; now 130, also in INFORMATION_SCHEMA.LOCALES - not fixed here: the sql_mode dependency of STR_TO_DATE() in generated columns (MDEV-42461) Assisted-By: Claude:claude-opus-5-5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||