- 15 Dec, 2021 5 commits
-
-
Vladislav Vaintroub authored
Previously, password was passed as hex(clear_text_password). The hex encoding was used to avoid masking apostrophe and backslash etc. However, bootstrap still manages to misinterpert UTF8 password, so that root would not connect later. So the fix is to compute the native password hash inside mysql_install_db already instead, and create user with that hash, rather than letting bootstrap calculate it by using PASSWORD() function.
-
Vladislav Vaintroub authored
CreateServiceA, OpenServiceA, and couple of other functions do not work correctly with non-ASCII character, in the special case where application has defined activeCodePage=UTF8. Workaround by redefining affected ANSI functions to own wrapper, which works by converting narrow(ANSI) to wide, then calling wide function. Deprecate original ANSI service functions, via declspec, so that we can catch their use.
-
Vladislav Vaintroub authored
Corresponding Windows bug https://github.com/microsoft/terminal/issues/4551 Use ReadConsoleW instead and convert to console's input codepage, to workaround. Also, disable VT sequences in the console output, as we do not knows what type of data comes with SELECT, we do not want VT escapes there. Remove my_cgets()
-
Vladislav Vaintroub authored
Prior to patch, get_password would echo multple mask characters '*', for a single multibyte input character. Fixed the behavior by using "wide" version of getch, _getwch. Also take care of possible characters outside of BMP (i.e we do not print '*' for high surrogates). The function will now internally construct the "wide" password string, and conver to the console codepage. Some characters could still be lost in that conversion, unless the codepage is utf8, but this is not any new bug.
-
Sergei Golubchik authored
and galera_3nodes.galera_ipv6_mariabackup_section until their corresponding MDEV's are fixed. They fail almost everywhere.
-
- 14 Dec, 2021 3 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
mkaruza authored
SQL statments could have table entries added in lexer. This entries should not invalidate `next_global` member. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
- 12 Dec, 2021 3 commits
-
-
Thirunarayanan Balathandayuthapani authored
- Addressing the format issue in deferred_dblwr() and changed the function comment.
-
Thirunarayanan Balathandayuthapani authored
InnoDB fails to identify the deferred tablespace after recovery. Problem is that InnoDB fails to rename the tablespace present in recovered tablespace. Fix is that InnoDB should try to rename the recovered tablespace when tablespace is being deferred
-
Thirunarayanan Balathandayuthapani authored
This patch reverts the commit cab8f4b5. InnoDB fails to restore page0 from doublewrite buffer when the tablespace is being deferred. In that case, InnoDB doesn't find INIT_PAGE redo log record for page0 and it leads to failure. InnoDB should recovery page0 from doublewrite buffer for the deferred tablespace before applying the redo log records. Added deferred_dblwr() to restore page0 of deferred tablespace from doublewrite buffer
-
- 10 Dec, 2021 7 commits
-
-
Sergei Krivonos authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
In commit 49e2c8f0 (MDEV-25743) some more use of the printf-style format "%.*s" was added. The length parameter is of type int, not size_t. On 64-bit platforms that follow the LLP64 convention (such as 64-bit Microsoft Windows), sizeof(int)==4 and sizeof(size_t)==8. Let us explicitly cast the lengths to the correct type in order to avoid any trouble.
-
- 09 Dec, 2021 1 commit
-
-
Sergei Petrunia authored
[Adjusting Sergei Krivonos's patch] "duplicates_removal" may contain multiple elements inside it and so should have a JSON array as a value (and not object).
-
- 08 Dec, 2021 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 07 Dec, 2021 9 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
BUG#31761802 STATISTICS ANY QUERIES USING VIEWS ARE SUMMARIZED TOGETHER WITH THE VIEW DEFINITION SELECT test case only
-
Sergei Golubchik authored
now when SLES12.3 is gone, we can enforce it
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Marko Mäkelä authored
During startup, InnoDB must write a FILE_CHECKPOINT record. However, before MDEV-12353 (in MariaDB Server 10.2, 10.3, 10.4) the corresponding record MLOG_CHECKPOINT was encoded in a different way. When we are upgrading from a logically empty 10.2, 10.3, or 10.4 redo log, we must not write anything to the old log file, because if the server were killed during the upgrade, we would end up with a corrupted log file, and both the old and the new server would refuse to start up. On upgrade, we must simply create a new logically empty log file and replace the old ib_logfile0 with that.
-
Eugene Kosov authored
This is a low hanging fruit. Before this patch std::map::emplace() was a ~50% of the whole recv_sys_t::parse() operation in by test. After the fix it's only ~20%. recv_sys_t::parse() recv_sys_t::pages is a collection of all pages to recovery. Often, there are multiple changes for a single page. Often, they go in a row and for such cases let's avoid lookup in a std::map. cached_pages_it serves as a cache of size 1. recv_sys_t::add(): replace page_id argument with a std::map::iterator
-
Sergei Golubchik authored
This reverts commit 2d21917e. No explainations, lots of code moved, wrong cmake changes
-
Sergei Golubchik authored
-
- 06 Dec, 2021 5 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
This reverts commit 9feaa6be. No, we do NOT support fmt 6.x, it formats values differently. And we MUST use FMT_HEADER_ONLY
-
Eugene Kosov authored
-
- 05 Dec, 2021 1 commit
-
-
Sergei Krivonos authored
-
- 04 Dec, 2021 3 commits
-
-
Sergei Krivonos authored
Signed-off-by: Sergei Krivonos <sergei.krivonos@mariadb.com>
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-