View Bazaar branches
Get this repository:
git clone https://git.launchpad.net/maria

MariaDB has 18 active reviews.

Branches

Name Last Modified Last Commit
10.5-svoj-MDEV-19964 2020-01-23 21:56:55 UTC 5 hours ago
discover_check_version() -> rebind()

Author: Sergey Vojtovich
Author Date: 2020-01-23 21:49:42 UTC

discover_check_version() -> rebind()

10.2 2020-01-23 20:29:06 UTC 6 hours ago
MENT-464 ASAN MTR quick test - some failures to be investigated.

Author: Alexey Botchkov
Author Date: 2020-01-23 20:29:06 UTC

MENT-464 ASAN MTR quick test - some failures to be investigated.

PCRE reports small frame size working with ASAN, so the test has to be ready
for the minimlas possible size.

bb-10.1-vicentiu 2020-01-23 19:51:36 UTC 7 hours ago
MDEV-15052: Allow sysusers and tmpfiles install for non-systemd users

Author: Rafli Akmal
Author Date: 2017-12-28 14:19:28 UTC

MDEV-15052: Allow sysusers and tmpfiles install for non-systemd users

..as they have their own tools that parses those files, such as
opensysusers[1] that handles sysusers file and opentmpfiles[2] that
handles tmpfiles.d settings

Because of this. Move both sysusers and tmpfiles 'if' function
outside systemd function, allowing independent install

Signed-off-by: Rafli Akmal <thefallenrat@artixlinux.org>

[1] - https://github.com/artix-linux/opensysusers
[2] - https://github.com/OpenRC/opentmpfiles

Changes done by vicentiu@mariadb.org, from original author patch:

Installing sysusers and tmpfiles without checking for systemd existence
means that by default, cmake will ALWAYS install these files. Our
general policy is we do not install things which are not needed.
However, there is a valid use case when these files are useful, as is
described above.

To allow this, provide an extra switch that can be enabled during
configuring by doing -DINSTALL_SYSTEMD_{SYSUSERS|TMPFILES}=True

This will use the default path INSTALL_SYSTEMD_{SYSUSERS|TMPFILES}DIR
fetched from install_layout.cmake for rpm & deb based layouts
respectively, or they must be overriden if the install_layout is
standalone.

Example:

cmake . -DINSTAL_SYSTEMD_SYSUSERS=True -DINSTALL_SYSTEMD_SYSUSERSDIR=/etc/sysusers.d

bb-10.5-bar 2020-01-23 16:41:23 UTC 10 hours ago
Changing MY_CHARSET_HANDLER functions to get my_charset_t rather than CHARSET...

Author: Alexander Barkov
Author Date: 2020-01-23 16:41:23 UTC

Changing MY_CHARSET_HANDLER functions to get my_charset_t rather than CHARSET_INFO

bb-10.5-MDEV-12353 2020-01-23 15:39:47 UTC 11 hours ago
Use more MEMMOVE records, and prefer WRITE to 2-byte MEMSET

Author: Marko Mäkelä
Author Date: 2020-01-23 15:39:47 UTC

Use more MEMMOVE records, and prefer WRITE to 2-byte MEMSET

bb-10.4-release 2020-01-23 14:49:10 UTC 12 hours ago
Merge branch '10.3' into 10.4

Author: Oleksandr Byelkin
Author Date: 2020-01-23 14:49:10 UTC

Merge branch '10.3' into 10.4

bb-10.5-kevgs 2020-01-23 14:46:43 UTC 12 hours ago
redo log mics fixes

Author: Eugene
Author Date: 2020-01-23 14:46:43 UTC

redo log mics fixes

os_file_flush_data_func(): fix builds on POSIX OSs where fdatasync()
is not avaiable

log_t::files::flush_data_only(): rename from fdatasync()

log_t::files::fsync(): removed and replaced with flush_data_only().
It will flush everything we need for using redo log files.

10.5 2020-01-23 14:23:46 UTC 12 hours ago
MDEV-21551 : Assertion `m_active_threads.size() >= m_long_tasks_count + m_wa...

Author: Vladislav Vaintroub
Author Date: 2020-01-23 13:27:49 UTC

MDEV-21551 : Assertion `m_active_threads.size() >= m_long_tasks_count + m_waiting_task_count' failed"

Happened when running innodb_fts.sync_ddl

m_long_task_count could be wrongly reset to 0, if m_task_queue is
empty.

bb-10.5-sujatha 2020-01-23 14:00:36 UTC 12 hours ago
MDEV-21490-10.5 changes

Author: Sujatha
Author Date: 2020-01-23 14:00:36 UTC

MDEV-21490-10.5 changes

bb-10.2-hf 2020-01-23 13:34:24 UTC 13 hours ago
MENT-464 ASAN MTR quick test - some failures to be investigated.

Author: Alexey Botchkov
Author Date: 2020-01-23 13:34:24 UTC

MENT-464 ASAN MTR quick test - some failures to be investigated.

The ASAN retuns very small frame size when ran with the ASAN,
so we have to rely on it's smallest possible value.

bb-10.3-release 2020-01-23 12:50:17 UTC 14 hours ago
Merge branch '10.2' into 10.3

Author: Oleksandr Byelkin
Author Date: 2020-01-23 12:50:17 UTC

Merge branch '10.2' into 10.3

bb-10.4-sujatha 2020-01-23 12:27:55 UTC 14 hours ago
MDEV-21490: binlog tests fail with valgrind: Conditional jump or move depends...

Author: Sujatha
Author Date: 2020-01-22 10:50:05 UTC

MDEV-21490: binlog tests fail with valgrind: Conditional jump or move depends on uninitialised value in sql_ex_info::init

Problem:
=======
P1)
==19140== Conditional jump or move depends on uninitialised value(s)
==19140== at 0xE2BC02: sql_ex_info::init(char const*, char const*, bool)
(log_event.cc:3083)
code:
----
    return ((cached_new_format != -1) ? cached_new_format :
      (cached_new_format=(field_term_len > 1 ||
        enclosed_len > 1 ||
        line_term_len > 1 || line_start_len > 1 ||
        escaped_len > 1)));

All the above variables are not initialized.

P2)
==21819== Conditional jump or move depends on uninitialised value(s)
==21819== at 0x9509FB: Rows_log_event::Rows_log_event(char const*, unsigned
               int, Format_description_log_event const*) (log_event.cc:9571)

Code: Uninitialized values is reported for 'var_header_len' variable.
----
    if (var_header_len < 2 ||
        event_len < static_cast<unsigned int>(var_header_len +
          (post_start - buf)))

P3) ==28175== Conditional jump or move depends on uninitialised value(s)
==28175== at 0x4C3317C: strnlen (vg_replace_strmem.c:428)
...
==28175== by 0xF9894F: my_snprintf (my_vsnprintf.c:716)
==28175== by 0x955905: Table_map_log_event::pack_info(Protocol*) (log_event.cc:11553)
code:'m_table_id' is uninitialized.
----
void Table_map_log_event::pack_info(Protocol *protocol)
{
    char buf[256];
    size_t bytes= my_snprintf(buf, sizeof(buf),
                                 "table_id: %lu (%s.%s)",
                              m_table_id, m_dbnam, m_tblnam);

Fix:
===
P1 - Fix)

Initialize cached_new_format,field_term_len, enclosed_len, line_term_len,
line_start_len, escaped_len members in default constructor.

P2 - Fix)
"var_header_len" is initialized by reading the event buffer. In case of an
invalid event the buffer will contain invalid data. Hence added a check to
validate the event data. If event_len is smaller than valid header length
return immediately.

P3 - Fix)
'm_table_id' within Table_map_log_event is initialized by reading data from
the event buffer. Use 'VALIDATE_BYTES_READ' macro to validate the current
state of the buffer. If it is invalid return immediately.

bb-10.3-sujatha 2020-01-23 11:35:30 UTC 15 hours ago
MDEV-21490: binlog tests fail with valgrind: Conditional jump or move depends...

Author: Sujatha
Author Date: 2020-01-22 10:50:05 UTC

MDEV-21490: binlog tests fail with valgrind: Conditional jump or move depends on uninitialised value in sql_ex_info::init

Problem:
=======
P1)
==19140== Conditional jump or move depends on uninitialised value(s)
==19140== at 0xE2BC02: sql_ex_info::init(char const*, char const*, bool)
(log_event.cc:3083)
code:
----
    return ((cached_new_format != -1) ? cached_new_format :
      (cached_new_format=(field_term_len > 1 ||
        enclosed_len > 1 ||
        line_term_len > 1 || line_start_len > 1 ||
        escaped_len > 1)));

All the above variables are not initialized.

P2)
==21819== Conditional jump or move depends on uninitialised value(s)
==21819== at 0x9509FB: Rows_log_event::Rows_log_event(char const*, unsigned
               int, Format_description_log_event const*) (log_event.cc:9571)

Code: Uninitialized values is reported for 'var_header_len' variable.
----
    if (var_header_len < 2 ||
        event_len < static_cast<unsigned int>(var_header_len +
          (post_start - buf)))

P3) ==28175== Conditional jump or move depends on uninitialised value(s)
==28175== at 0x4C3317C: strnlen (vg_replace_strmem.c:428)
...
==28175== by 0xF9894F: my_snprintf (my_vsnprintf.c:716)
==28175== by 0x955905: Table_map_log_event::pack_info(Protocol*) (log_event.cc:11553)
code:'m_table_id' is uninitialized.
----
void Table_map_log_event::pack_info(Protocol *protocol)
{
    char buf[256];
    size_t bytes= my_snprintf(buf, sizeof(buf),
                                 "table_id: %lu (%s.%s)",
                              m_table_id, m_dbnam, m_tblnam);

Fix:
===
P1 - Fix)

Initialize cached_new_format,field_term_len, enclosed_len, line_term_len,
line_start_len, escaped_len members in default constructor.

P2 - Fix)
"var_header_len" is initialized by reading the event buffer. In case of an
invalid event the buffer will contain invalid data. Hence added a check to
validate the event data. If event_len is smaller than valid header length
return immediately.

P3 - Fix)
'm_table_id' within Table_map_log_event is initialized by reading data from
the event buffer. Use 'VALIDATE_BYTES_READ' macro to validate the current
state of the buffer. If it is invalid return immediately.

bb-10.2-release 2020-01-23 11:20:57 UTC 15 hours ago
MDEV-14183: aria_pack segfaults in compress_maria_file

Author: Vlad Lesin
Author Date: 2020-01-22 18:13:14 UTC

MDEV-14183: aria_pack segfaults in compress_maria_file

Post-push fix. aria_pack_mdev14183 test is unstable.

The fix is the following:
1. Disable the test for embedded server.
2. Create non-"transactional" Aria table in the test, as aria_pack does not
support "transactional" Aria tables.

bb-10.1-sujatha 2020-01-23 10:47:55 UTC 16 hours ago
MDEV-20923:UBSAN: member access within address … which does not point to an o...

Author: Sujatha
Author Date: 2020-01-23 10:47:55 UTC

MDEV-20923:UBSAN: member access within address … which does not point to an object of type 'xid_count_per_binlog'

Problem:
-------
Accessing a member within 'xid_count_per_binlog' structure results in
following error when 'UBSAN' is enabled.

member access within address 0xXXX which does not point to an object of type
'xid_count_per_binlog'

Analysis:
---------
The problem appears to be that no constructor for 'xid_count_per_binlog' is
being called, and thus the vtable will not be initialized.

Fix:
---
Defined a parameterized constructor for 'xid_count_per_binlog' class.

bb-10.2-serg 2020-01-22 23:43:53 UTC 2020-01-22
C/C ssl unit test fixes

Author: Sergei Golubchik
Author Date: 2020-01-22 17:18:22 UTC

C/C ssl unit test fixes

* enable ssl tests (by specifying CERT_PATH)
* generate combined and password-protected client certs
* generate server-cert fingerprint
* generate cacert ${hash}.0 as openssl expects from a system CA dir
* add system CA test to ssl_7937.test too
* add --ssl-verify-server-cert for a wrong hostname

bb-10.2-MDEV-14183-aria_pack 2020-01-22 18:13:14 UTC 2020-01-22
MDEV-14183: aria_pack segfaults in compress_maria_file

Author: Vlad Lesin
Author Date: 2020-01-22 18:13:14 UTC

MDEV-14183: aria_pack segfaults in compress_maria_file

Post-push fix. aria_pack_mdev14183 test is unstable.

The fix is the following:
1. Disable the test for embedded server.
2. Create non-"transactional" Aria table in the test, as aria_pack does not
support "transactional" Aria tables.

10.4 2020-01-22 14:55:59 UTC 2020-01-22
MDEV-17571 : Make systemd timeout behavior more compatible with long Galera SSTs

Author: Jan Lindström
Author Date: 2020-01-22 09:58:50 UTC

MDEV-17571 : Make systemd timeout behavior more compatible with long Galera SSTs

This is 10.4 version.

Idea is to create monitor thread for both donor and joiner that will
periodically if needed extend systemd timeout while SST is being
processed. In 10.4 actual SST is executed by running SST script
and exchanging messages on pipe using blocking fgets. This fix
starts monitoring thread before SST script is started and
we stop monitoring thread when SST has been completed.

bb-10.2-sujatha 2020-01-22 12:27:02 UTC 2020-01-22
MDEV-21490: binlog tests fail with valgrind: Conditional jump or move depends...

Author: Sujatha
Author Date: 2020-01-22 10:50:05 UTC

MDEV-21490: binlog tests fail with valgrind: Conditional jump or move depends on uninitialised value in sql_ex_info::init

Problem:
=======
P1)
==19140== Conditional jump or move depends on uninitialised value(s)
==19140== at 0xE2BC02: sql_ex_info::init(char const*, char const*, bool)
(log_event.cc:3083)
code:
----
    return ((cached_new_format != -1) ? cached_new_format :
      (cached_new_format=(field_term_len > 1 ||
        enclosed_len > 1 ||
        line_term_len > 1 || line_start_len > 1 ||
        escaped_len > 1)));

All the above variables are not initialized.

P2)
==21819== Conditional jump or move depends on uninitialised value(s)
==21819== at 0x9509FB: Rows_log_event::Rows_log_event(char const*, unsigned
               int, Format_description_log_event const*) (log_event.cc:9571)

Code: Uninitialized values is reported for 'var_header_len' variable.
----
    if (var_header_len < 2 ||
        event_len < static_cast<unsigned int>(var_header_len +
          (post_start - buf)))

P3) ==28175== Conditional jump or move depends on uninitialised value(s)
==28175== at 0x4C3317C: strnlen (vg_replace_strmem.c:428)
...
==28175== by 0xF9894F: my_snprintf (my_vsnprintf.c:716)
==28175== by 0x955905: Table_map_log_event::pack_info(Protocol*) (log_event.cc:11553)
code:'m_table_id' is uninitialized.
----
void Table_map_log_event::pack_info(Protocol *protocol)
{
    char buf[256];
    size_t bytes= my_snprintf(buf, sizeof(buf),
                                 "table_id: %lu (%s.%s)",
                              m_table_id, m_dbnam, m_tblnam);

Fix:
===
P1 - Fix)

Initialize cached_new_format,field_term_len, enclosed_len, line_term_len,
line_start_len, escaped_len members in default constructor.

P2 - Fix)
"var_header_len" is initialized by reading the event buffer. In case of an
invalid event the buffer will contain invalid data. Hence added a check to
validate the event data. If event_len is smaller than valid header length
return immediately.

P3 - Fix)
'm_table_id' within Table_map_log_event is initialized by reading data from
the event buffer. Use 'VALIDATE_BYTES_READ' macro to validate the current
state of the buffer. If it is invalid return immediately.

bb-10.5-oalter 2020-01-22 12:26:47 UTC 2020-01-22
Commit 3

Author: Sachin Setiya
Author Date: 2020-01-22 12:26:47 UTC

Commit 3

bb-10.4-MDEV-17571 2020-01-22 09:58:50 UTC 2020-01-22
MDEV-17571 : Make systemd timeout behavior more compatible with long Galera SSTs

Author: Jan Lindström
Author Date: 2020-01-22 09:58:50 UTC

MDEV-17571 : Make systemd timeout behavior more compatible with long Galera SSTs

This is 10.4 version.

Idea is to create monitor thread for both donor and joiner that will
periodically if needed extend systemd timeout while SST is being
processed. In 10.4 actual SST is executed by running SST script
and exchanging messages on pipe using blocking fgets. This fix
starts monitoring thread before SST script is started and
we stop monitoring thread when SST has been completed.

bb-10.5-vicentiu 2020-01-22 07:12:22 UTC 2020-01-22
Remove skip-bdb from mysqld --help

Author: Vicențiu Ciorbaru
Author Date: 2020-01-21 15:54:18 UTC

Remove skip-bdb from mysqld --help

Parameter is still accepted and a warning is issued if discovered during
my.cnf parsing or as a command line parameter.

bb-10.5-anel-MDEV-10569-daniel 2020-01-21 16:50:33 UTC 2020-01-21
MDEV-10569: Add RELEASE_ALL_LOCKS function. Implementing the SQL

Author: Daniel-Solo
Author Date: 2020-01-15 12:08:42 UTC

MDEV-10569: Add RELEASE_ALL_LOCKS function. Implementing the SQL
function to release all named locks

10.5-MDEV-21351 2020-01-21 16:01:26 UTC 2020-01-21
Update copyright years, and clean up some things

Author: Marko Mäkelä
Author Date: 2020-01-21 15:56:59 UTC

Update copyright years, and clean up some things

nm/period-fk-linear 2020-01-21 13:33:56 UTC 2020-01-21
Period: add versioning combination

Author: Nikita Malyavin
Author Date: 2020-01-21 09:48:47 UTC

Period: add versioning combination

10.1 2020-01-21 09:50:48 UTC 2020-01-21
MDEV-17601: MariaDB Galera does not expect 'mbstream' as streamfmt

Author: Julius Goryavsky
Author Date: 2020-01-14 12:57:14 UTC

MDEV-17601: MariaDB Galera does not expect 'mbstream' as streamfmt

Setting "streamfmt=mbstream" in the "[sst]" section causes SST to fail
because the format automatically switches to 'tar' by default (insead
of mbstream).

To fix this, we need to add mbstream to the list of valid values for
the format, making it synonymous with xbstream. This must be done both
in the SST script and when parsing the options of the corresponding
utilities.

10.3 2020-01-21 08:11:14 UTC 2020-01-21
Merge branch '10.2' into 10.3

Author: Oleksandr Byelkin
Author Date: 2020-01-21 08:11:14 UTC

Merge branch '10.2' into 10.3

bb-10.5-MDEV-21351 2020-01-21 07:27:11 UTC 2020-01-21
MDEV-21351 Replace recv_sys.heap with list of buf_block_t

Author: THIRUNARAYANAN BALATHANDAYUTHAPANI
Author Date: 2020-01-20 09:04:39 UTC

MDEV-21351 Replace recv_sys.heap with list of buf_block_t

- Remove recv_sys_t::heap, MEM_HEAP_FOR_RECV_SYS.
- Replaced recv_n_pool_free_frames with recv_sys.max_log_blocks.
- Removed available_mem variable in recv_parse_log_recs() and redo
log blocks threshold check is done with the help of recv_sys.max_log_blocks.
- Allocate the recv_sys.pages and its elements directly by
the system allocator.
- Allocate buffer pool blocks directly by buf_block_alloc().
Use block->unzip_LRU for keeping track of allocated blocks.
- Append log records to the last block, until the block->frame is
filled up. (Similar to the current recv_sys.heap.)
- Repurpose buf_block_t::modify_clock to store the length of the redo
log data.
- Use buf_block_t::page::buf_fix_count only in debug builds to count
the number of pointers from recv_sys.pages.

bb-10.4-andrei 2020-01-20 15:54:19 UTC 2020-01-20
MDEV-20821 parallel slave server shutdown hang

Author: Andrei Elkin
Author Date: 2020-01-17 18:26:14 UTC

MDEV-20821 parallel slave server shutdown hang

Parallel slave server shutdown found to be hanging in
close_connections() triggered by shutdown due to a slave worker thread
would not be notified to exit in case the worker was sitting idle.

Fixed with destroying the worker pool earlier that is in
slave_prepare_for_shutdown() when all their driver threads have already left.
A test file is added to simulate the bug condition as well as check
multi-sourced and not-idle worker cases.

bb-10.5-varun 2020-01-20 13:54:06 UTC 2020-01-20
MDEV-21263: Allow packed values of non-sorted fields in the sort buffer

Author: varun
Author Date: 2020-01-17 18:23:18 UTC

MDEV-21263: Allow packed values of non-sorted fields in the sort buffer

This task deals with packing the non-sorted fields (or addon fields).
This would lead to efficient usage of the memory allocated for the sort buffer.
The changes brought by this feature are
  1) Sort buffers would have records of variable length
  2) Each record in the sort buffer would be stored like
     <sort_key1><sort_key2>....<addon_length><null_bytes><field1><field2>....
     addon_length is the extra bytes that are required to store the variable
     length of addon field across different records.
  3) Changes in rr_unpack_from_buffer and rr_from_tempfile to take into account
     the variable length of records.

Ported WL#1509 Pack values of non-sorted fields in the sort buffer from
MySQL by Tor Didriksen

bb-10.2-merge 2020-01-20 10:49:37 UTC 2020-01-20
Merge branch '10.1' into 10.2

Author: Oleksandr Byelkin
Author Date: 2020-01-20 10:49:37 UTC

Merge branch '10.1' into 10.2

bb-10.5-MDEV-21534 2020-01-20 10:27:10 UTC 2020-01-20
MDEV-21534 Improve locking/waiting in log_write_up_to()

Author: Vladislav Vaintroub
Author Date: 2020-01-20 10:27:10 UTC

MDEV-21534 Improve locking/waiting in log_write_up_to()

Use custom synchronization primitive flush_event_t instead of innodb event
in order to reduce spurious wakeups and reduce contention on log_sys.mutex

bb-10.1-release 2020-01-19 13:37:25 UTC 2020-01-19
Merge branch 'merge-tokudb-5.6' into 10.1

Author: Oleksandr Byelkin
Author Date: 2020-01-19 13:37:25 UTC

Merge branch 'merge-tokudb-5.6' into 10.1

bb-10.4-serg 2020-01-18 01:02:29 UTC 2020-01-18
mysql_install_db always has to pass --user=$user to the mysqld

Author: Sergei Golubchik
Author Date: 2020-01-18 01:02:29 UTC

mysql_install_db always has to pass --user=$user to the mysqld

followup for 9d18b624675

strangely enough it only failed upgrade test on eoan

bb-5.5-serg 2020-01-17 23:05:16 UTC 2020-01-17
Bug#29630767 - USE OF UNINITIALIZED VALUE IN LIBMYSQL (CLIENT.CC FUNCTION RUN...

Author: Sergei Golubchik
Author Date: 2020-01-17 14:08:11 UTC

Bug#29630767 - USE OF UNINITIALIZED VALUE IN LIBMYSQL (CLIENT.CC FUNCTION RUN_PLUGIN_AUTH)

5.5 2020-01-17 23:05:16 UTC 2020-01-17
Bug#29630767 - USE OF UNINITIALIZED VALUE IN LIBMYSQL (CLIENT.CC FUNCTION RUN...

Author: Sergei Golubchik
Author Date: 2020-01-17 14:08:11 UTC

Bug#29630767 - USE OF UNINITIALIZED VALUE IN LIBMYSQL (CLIENT.CC FUNCTION RUN_PLUGIN_AUTH)

bb-5.5-anel-make-uninstall 2020-01-17 15:23:05 UTC 2020-01-17
Add uninstall target

Author: Anel Husakovic
Author Date: 2020-01-17 15:23:05 UTC

Add uninstall target

bb-10.5-MDEV-14425 2020-01-17 13:09:51 UTC 2020-01-17
MDEV-14425 deprecate innodb_log_files_in_group

Author: Eugene
Author Date: 2020-01-11 19:05:28 UTC

MDEV-14425 deprecate innodb_log_files_in_group

Now there can be only one log file instead of several which logically work
as a single file.

Possible names of redo log files: ib_logfile0, ib_logfile101 (for just created one)

innodb_log_fiels_in_group: value of this variable is not used by InnoDB. Possible
values are still 1..100, to not break upgrade

LOG_FILE_NAME: add constant of value "ib_logfile0"
LOG_FILE_NAME_PREFIX: add constant of value "ib_logfile"

get_log_file_path(): convenience function that returns full path of a redo log file

SRV_N_LOG_FILES_MAX: removed

srv_n_log_files: we can't remove this for compatibility reasons, but now
server doesn't use this variable

log_sys_t::file::fd: now just one, not std::vector
log_sys_t::file::file_name: now just one, not std::vector

log_sys_t::log_capacity: removed word 'group'

find_and_check_log_file(): part of logic from huge srv_start() moved here

bb-10.5-serg 2020-01-17 12:12:01 UTC 2020-01-17
restore support for --defaults-file=<(...)

Author: Sergei Golubchik
Author Date: 2020-01-17 09:37:11 UTC

restore support for --defaults-file=<(...)

if my_realpath() fails, don't return the error code, get_defaults_options()
returns a number of options consumed, not 0=ok/1=error.

instead, ignore the error from my_realpath. If it fails it internally
falls back to my_load_path, which restores 10.4- behavior

bb-10.2-MDEV-17062 2020-01-17 06:50:36 UTC 2020-01-17
MDEV-17062 : Test failure on galera.MW-336

Author: Jan Lindström
Author Date: 2020-01-16 11:18:44 UTC

MDEV-17062 : Test failure on galera.MW-336

Add mutex protection while we calculate required slave
thread change and create them. Add error handling.

bb-10.5-release 2020-01-16 17:04:43 UTC 2020-01-16
fix compilation w/o perfschema

Author: Sergei Golubchik
Author Date: 2020-01-16 17:04:43 UTC

fix compilation w/o perfschema

followup for 3a3605f4b1a

bb-5.5-vicentiu 2020-01-16 11:38:50 UTC 2020-01-16
MDEV-21210: main.uniques_crash-7912 tries to allocate 1TB of memory

Author: Vicențiu Ciorbaru
Author Date: 2020-01-16 11:37:21 UTC

MDEV-21210: main.uniques_crash-7912 tries to allocate 1TB of memory

Update uniques_crash-7912 to only cover 5GB of RAM and also work on
unix.

bb-10.2-MDEV-18464 2020-01-16 09:41:54 UTC 2020-01-16
MDEV-18464 : Killing thread can cause mutex deadlock if done concurrently wit...

Author: Jan Lindström
Author Date: 2020-01-15 07:06:32 UTC

MDEV-18464 : Killing thread can cause mutex deadlock if done concurrently with Galera/replication victim kill

Following issues here:

Whenever Galera BF (brute force) transaction decides to abort conflicting transaction it will kill that thread using thd::awake()
Whenever replication selects a thread as a victim it will call thd::awake()
User KILL [QUERY|CONNECTION] ... for a thread it will also call thd::awake()
Whenever one of these actions is executed we will hold number of InnoDB internal mutexes and thd mutexes.
Sometimes these mutexes are taken in different order causing mutex deadlock.

In this patch we will fix Galera BF and user kill cases so that we enqueue
victim thread to a list while we hold InnoDB mutexes and we then release them.
A new background thread will pick victim thread from this new list and uses
thd::awake() with no InnoDB mutexes. Idea is similar to replication background
kill. This fix enforces that we take LOCK_thd_data -> lock sys mutex -> trx mutex
always in this order.

wsrep_mysqld.cc
 Here we introduce a list where victim threads are stored,
 condition variable to be used to wake up background thread
 and mutex to protect list.

wsrep_thd.cc
 Create a new background thread to handle victim thread
 abort. We may take wsrep_thd_LOCK mutex here but not any
 InnoDB mutexes.

wsrep_innobase_kill_one_trx
 Remove all the wsrep code that was moved to wsrep_thd.cc
 We just enqueue required information to background kill
 list and cancel victim trx lock wait if there is such.
 Here we have InnoDB lock sys mutex and trx mutex so here
 we can't take wsrep_thd_LOCK mutex.

wsrep_abort_transaction
 Cleanup only.

bb-10.4-robert 2020-01-15 14:25:10 UTC 2020-01-15
MDEV-20732 Correctly set the length of the FORMAT() result for float data typ...

Author: Gagan Goel
Author Date: 2019-12-30 20:11:01 UTC

MDEV-20732 Correctly set the length of the FORMAT() result for float data type as argument.

bb-10.5-monty 2020-01-15 13:04:40 UTC 2020-01-15
Improve update handler (long unique keys on blobs)

Author: Monty
Author Date: 2020-01-13 16:30:13 UTC

Improve update handler (long unique keys on blobs)

- Move update_handler from TABLE to handler
- Move out initialization of update handler from ha_write_row() to
  prepare_for_insert()
- Fixed that INSERT DELAYED works with update handler
- Added handler function to check if table has long unique hash indexes
- Disable write cache in MyISAM and Aria when using update_handler as
  if cache is used, the row will not be inserted until end of statement
  and update_handler would not find conflicting rows.
- Removed not used handler argument from
  check_duplicate_long_entries_update()
- Syntax cleanups
  - Indentation fixes
  - Don't use single character indentifiers for arguments

bb-10.2-midenok 2020-01-14 20:18:22 UTC 2020-01-14
MDEV-20874 Wrong handling of 'table was dropped' error in purge thread

Author: midenok
Author Date: 2019-10-22 16:47:10 UTC

MDEV-20874 Wrong handling of 'table was dropped' error in purge thread

bb-10.4-varun 2020-01-14 14:16:17 UTC 2020-01-14
Big test added for sorting

Author: varun
Author Date: 2020-01-14 11:17:27 UTC

Big test added for sorting

10.1-MDEV-19457 2020-01-14 13:23:15 UTC 2020-01-14
MDEV-19457: sys_vars.wsrep_provider_basic failed in buildbot

Author: Julius Goryavsky
Author Date: 2020-01-14 13:23:15 UTC

MDEV-19457: sys_vars.wsrep_provider_basic failed in buildbot

If the initialization of the wsrep provider failed, in some
cases the internal variable wrep_inited indicating that the
initialization has already been completed is still set to
"1", which then leads to confusion in the initialization
status. To solve the problem, we should set this variable
to "1" only if the wsrep provider initialization really
completed successfully.

An earlier issue has already been fixed for branch 10.4,
and this patch contains a fix for earlier versions (where
Galera 3.x is used).

10.1-MDEV-17601 2020-01-14 12:57:14 UTC 2020-01-14
MDEV-17601: MariaDB Galera does not expect 'mbstream' as streamfmt

Author: Julius Goryavsky
Author Date: 2020-01-14 12:57:14 UTC

MDEV-17601: MariaDB Galera does not expect 'mbstream' as streamfmt

Setting "streamfmt=mbstream" in the "[sst]" section causes SST to fail
because the format automatically switches to 'tar' by default (insead
of mbstream).

To fix this, we need to add mbstream to the list of valid values for
the format, making it synonymous with xbstream. This must be done both
in the SST script and when parsing the options of the corresponding
utilities.

bb-10.4-MDEV-19803 2020-01-14 06:05:05 UTC 2020-01-14
Merge branch 'codership-10.4-MDEV-19803' into 10.4

Author: Jan Lindström
Author Date: 2020-01-14 06:05:05 UTC

Merge branch 'codership-10.4-MDEV-19803' into 10.4

bb-10.2-release-kevgs 2020-01-13 19:16:33 UTC 2020-01-13
MDEV-20377 fix build for CRC32

Author: Eugene
Author Date: 2020-01-08 16:59:40 UTC

MDEV-20377 fix build for CRC32

bb-10.4-galera-bug 2020-01-13 13:34:08 UTC 2020-01-13
Merge branch 'codership-10.4-wsrep-position-after-cert-failure' into 10.4

Author: Jan Lindström
Author Date: 2020-01-13 13:34:08 UTC

Merge branch 'codership-10.4-wsrep-position-after-cert-failure' into 10.4

bb-10.5-MDEV-16978-without-overlaps 2020-01-13 07:53:40 UTC 2020-01-13
add frm corruption check for extra2.application_period

Author: Nikita Malyavin
Author Date: 2020-01-13 07:53:40 UTC

add frm corruption check for extra2.application_period

bb-10.3-mdev21341-issueSix 2020-01-12 19:15:55 UTC 2020-01-12
MDEV-21341: Fix UBSAN failures: Issue Six

Author: Sergey Petrunia
Author Date: 2020-01-12 19:15:55 UTC

MDEV-21341: Fix UBSAN failures: Issue Six

(Variant #2 of the patch, which keeps the sp_head object inside the
MEM_ROOT that sp_head object owns)
(10.3 version of the fix, with handling for class sp_package)

sp_head::operator new() and operator delete() were dereferencing sp_head*
pointers to memory that didn't hold a valid sp_head object (it was
not created/already destroyed).
This caused UBSan to crash when looking up type information.

Fixed by providing static sp_head::create() and sp_head::destroy() methods.

bb-10.1-mdev21341-issueSix 2020-01-12 18:50:12 UTC 2020-01-12
MDEV-21341: Fix UBSAN failures: Issue Six

Author: Sergey Petrunia
Author Date: 2020-01-12 18:50:12 UTC

MDEV-21341: Fix UBSAN failures: Issue Six

(Variant #2 of the patch, which keeps the sp_head object inside the
MEM_ROOT that sp_head object owns)
(10.3 requires extra work due to sp_package, will commit a separate
patch for it)

sp_head::operator new() and operator delete() were dereferencing sp_head*
pointers to memory that didn't hold a valid sp_head object (it was
not created/already destroyed).
This caused UBSan to crash when looking up type information.

Fixed by providing static sp_head::create() and sp_head::destroy() methods.

bb-10.3-mdev21243 2020-01-12 12:48:46 UTC 2020-01-12
MDEV-21243: Join buffer: condition is checked in wrong place for range access

Author: Sergey Petrunia
Author Date: 2019-12-07 15:21:36 UTC

MDEV-21243: Join buffer: condition is checked in wrong place for range access

In this scenario:
- There is a possible range access for table T
- And there is a ref access on the same index which uses fewer key parts
- The join optimizer picks the ref access (because it is cheaper)
- make_join_select applies this heuristic to switch to range:
  /* Range uses longer key; Use this instead of ref on key */

Join buffer will be used without having called
JOIN_TAB::make_scan_filter(). This means, conditions that should be
checked when reading table T will be checked after T is joined with the
contents of the join buffer, instead.

Fixed this by adding a make_scan_filter() check.
(updated patch after backport to 10.3)
(Fix testcase on Windows)

bb-10.2-MDEV-21454 2020-01-10 15:50:19 UTC 2020-01-10
MDEV-21454 Show actual mismatching values in mismatch error messages from row...

Author: Eugene
Author Date: 2020-01-10 15:50:19 UTC

MDEV-21454 Show actual mismatching values in mismatch error messages from row_import::match_table_columns()

Patch by Hartmut Holzgraefe

10.5-mdev8306-2 2020-01-09 14:11:24 UTC 2020-01-09
Fix to address performance regression of ORDER BY with limit queries

Author: varun
Author Date: 2020-01-09 09:44:51 UTC

Fix to address performance regression of ORDER BY with limit queries

bb-10.5-wlad 2020-01-07 18:58:24 UTC 2020-01-07
WIP

Author: Vladislav Vaintroub
Author Date: 2020-01-06 21:17:19 UTC

WIP

bb-10.3-kevgs 2020-01-07 17:51:04 UTC 2020-01-07
fix compilation

Author: Eugene
Author Date: 2020-01-07 17:51:04 UTC

fix compilation

bb-10.2-kevgs 2020-01-07 17:35:02 UTC 2020-01-07
let newer compilers use native thread local storage

Author: Eugene
Author Date: 2020-01-07 17:35:02 UTC

let newer compilers use native thread local storage

This should not affect old compilers at all.

But newer ones can use thread_local from C++11 and _Thread_local from C11.
Native TLS is faster than library pthreads implementation.
So, this is just a performance optimization, no functional changes are intended.

bb-10.5-midenok-MDEV-16417 2020-01-07 12:30:15 UTC 2020-01-07
mysql_prepare_alter_table() leak fix

Author: midenok
Author Date: 2020-01-07 12:27:54 UTC

mysql_prepare_alter_table() leak fix

bb-10.3-midenok 2020-01-04 15:38:59 UTC 2020-01-04
MDEV-20528 innodb.purge_secondary_mdev-16222 failed in buildbot, debug sync p...

Author: midenok
Author Date: 2020-01-04 15:38:59 UTC

MDEV-20528 innodb.purge_secondary_mdev-16222 failed in buildbot, debug sync point wait timed out

bb-10.2-MDEV-13569 2020-01-02 12:23:18 UTC 2020-01-02
MDEV-13569: wsrep_info.plugin failed in buildbot with "no nodes coming from p...

Author: Jan Lindström
Author Date: 2020-01-02 06:06:23 UTC

MDEV-13569: wsrep_info.plugin failed in buildbot with "no nodes coming from prim view

Modify configuration so that all nodes are part of galera cluster
i.e. wsrep_on=ON. Add missing wait conditions.

test changes only.

bb-10.1-anel-MDEV-21374 2019-12-31 17:04:44 UTC 2019-12-31
MDEV-2137: When "--help --verbose" prints out configuration file paths, the -...

Author: Anel Husakovic
Author Date: 2019-12-31 17:02:54 UTC

MDEV-2137: When "--help --verbose" prints out configuration file paths, the --defaults-file option is not considered

* `--defaults-file` option is showed only in `--help --verbose` if
applied
* `--default-extra-file` is showing correctly now in `--help --verbose`,
previously it was treated as a directory with appended `my.cnf`

bb-10.5-MDEV-18115 2019-12-31 12:53:33 UTC 2019-12-31
blind fix

Author: Eugene
Author Date: 2019-12-31 12:53:33 UTC

blind fix

bb-10.1-varun 2019-12-31 12:49:12 UTC 2019-12-31
MDEV-20922: Adding an order by changes the query results

Author: varun
Author Date: 2019-12-31 05:30:15 UTC

MDEV-20922: Adding an order by changes the query results

For Item_direct_view_ref , get value from val_* methods
instead of result* family
The val_* methods gets value from the item on which it is referred.

bb-10.4-MDEV-20793 2019-12-31 06:26:46 UTC 2019-12-31
Merge branch 'codership-10.4-MDEV-20793' into 10.4

Author: Jan Lindström
Author Date: 2019-12-31 06:26:46 UTC

Merge branch 'codership-10.4-MDEV-20793' into 10.4

bb-10.3-vicentiu-json-review 2019-12-30 10:27:26 UTC 2019-12-30
MDEV-18323 Convert MySQL JSON type to MariaDB TEXT in mysql_upgrade

Author: Anel Husakovic
Author Date: 2019-01-22 08:53:57 UTC

MDEV-18323 Convert MySQL JSON type to MariaDB TEXT in mysql_upgrade

10.3-vicentiu-json-review 2019-12-27 21:26:25 UTC 2019-12-27
Cleanup and more comments

Author: Vicențiu Ciorbaru
Author Date: 2019-12-27 21:26:25 UTC

Cleanup and more comments

bb-10.5-svoj-MDEV-17882 2019-12-27 16:37:11 UTC 2019-12-27
Yet less TDC hash lookups

Author: Sergey Vojtovich
Author Date: 2019-12-21 19:51:49 UTC

Yet less TDC hash lookups

Let auto repair table and truncate table routines flush TABLE_SHARE
directly.

Part of MDEV-17882 - Cleanup refresh version

andrei-10.4-XA 2019-12-27 14:04:01 UTC 2019-12-27
server xid corrected

Author: Andrei Elkin
Author Date: 2019-12-27 14:04:01 UTC

server xid corrected

bb-10.2-varun 2019-12-26 09:48:49 UTC 2019-12-26
MDEV-21318: Wrong results with window functions and implicit grouping

Author: varun
Author Date: 2019-12-26 07:20:21 UTC

MDEV-21318: Wrong results with window functions and implicit grouping

The issue here is for degenerate joins we should execute the window
function but it is not getting executed in all the cases.

To get the window function values window function needs to be executed
always. This currently does not happen in few cases
where the join would return 0 or 1 row like
  1) IMPOSSIBLE WHERE
  2) MIN/MAX optimization
  3) EMPTY CONST TABLE

The fix is to make sure that window functions get executed
and the temporary table is setup for the execution of window functions

bb-10.5-MDEV-20632 2019-12-25 09:36:24 UTC 2019-12-25
MDEV-20632: prerequisite:

Author: Oleksandr Byelkin
Author Date: 2019-12-16 16:59:42 UTC

MDEV-20632: prerequisite:

Removed hack with with_list

bb-10.4-bar 2019-12-25 09:33:28 UTC 2019-12-25
Merge remote-tracking branch 'origin/10.3' into 10.4

Author: Alexander Barkov
Author Date: 2019-12-25 09:33:28 UTC

Merge remote-tracking branch 'origin/10.3' into 10.4

10.5-windows-afunix 2019-12-24 17:22:45 UTC 2019-12-24
Support AF_UNIX socket on Windows

Author: Vladislav Vaintroub
Author Date: 2019-12-24 17:22:45 UTC

Support AF_UNIX socket on Windows

10.5-wlad-tp-fibers 2019-12-24 17:16:51 UTC 2019-12-24
WIP

Author: Vladislav Vaintroub
Author Date: 2019-12-20 11:49:37 UTC

WIP

bb-10.3-bar 2019-12-24 14:10:18 UTC 2019-12-24
MDEV-21389 Derive Item_func_month from Item_long_func

Author: Alexander Barkov
Author Date: 2019-12-24 14:10:18 UTC

MDEV-21389 Derive Item_func_month from Item_long_func

bb-10.1-serg 2019-12-23 20:39:10 UTC 2019-12-23
mtr: include restart_opts in --verbose-restart

Author: Sergei Golubchik
Author Date: 2019-12-23 20:39:10 UTC

mtr: include restart_opts in --verbose-restart

bb-10.2-MDEV-19176 2019-12-23 10:15:27 UTC 2019-12-23
MDEV-19176 Reduce the memory usage during recovery

Author: THIRUNARAYANAN BALATHANDAYUTHAPANI
Author Date: 2019-12-23 06:57:41 UTC

MDEV-19176 Reduce the memory usage during recovery

- Moved the recv_sys->heap memory condition inside recv_parse_log_recs().
So that, InnoDB can mark the status as STORE_NO earlier.

- InnoDB uses one third of buffer pool chunk size for reading the redo
log records. In that case, we can avoid the scenario where buffer ran
out of memory issue during recovery.

bb-10.3.10-mdev21243 2019-12-22 22:13:38 UTC 2019-12-22
MDEV-21383: Possible range plan is not used under certain conditions

Author: Sergey Petrunia
Author Date: 2019-12-22 22:13:38 UTC

MDEV-21383: Possible range plan is not used under certain conditions

(10.3's variant of the fix)

make_join_select() has a section of code which starts with
 "We plan to scan all rows. Check again if we should use an index."

the code in that section will [unnecessarily] re-run the range
optimizer using this condition:

  condition_attached_to_current_table AND current_table's_ON_expr

Note that the original invocation of range optimizer in
make_join_statistics was done using the whole select's WHERE condition.

taking the whole select's WHERE condition and using multiple-equalities
allowed the range optimizer to do more inferences.

This fix uses a very conservative approach: we still re-run the range
optimizer, but we save the quick select we already have, and take the
best of the two quick selects.

bb-10.5-midenok 2019-12-20 11:25:59 UTC 2019-12-20
MDEV-21311 Converge Foreign_key and supplemental generated Key together

Author: midenok
Author Date: 2019-12-11 19:58:18 UTC

MDEV-21311 Converge Foreign_key and supplemental generated Key together

mysql_prepare_create_table() does data validation and such utilities
as automatic name generation. But it does that only for indexes and
ignores Foreign_key objects. Now as Foreign_key data needs to be
stored in FRM files as well this processing must be done for them like
for any other Key objects.

Replace Key::FOREIGN_KEY type with Key::foreign flag of type
Key::MULTIPLE and Key::generated set to true. Construct one object
with Key::foreign == true instead of two objects of type
Key::FOREIGN_KEY and Key::MULTIPLE.

bb-10.5-MDEV-19176 2019-12-20 07:03:29 UTC 2019-12-20
MDEV-21351 Replace recv_sys.heap with list of buf_block_t*

Author: THIRUNARAYANAN BALATHANDAYUTHAPANI
Author Date: 2019-12-20 07:03:29 UTC

MDEV-21351 Replace recv_sys.heap with list of buf_block_t*

- Replace recv_sys.heap with list of buf_block_t for storing redo logs
during recovery.

bb-10.5-anel-MDEV-10569 2019-12-19 13:19:19 UTC 2019-12-19
add test case and change a val_int()

Author: Anel Husakovic
Author Date: 2019-12-19 13:19:19 UTC

add test case and change a val_int()

bb-10.1-mdev21341 2019-12-18 18:53:19 UTC 2019-12-18
MDEV-21341: Fix UBSAN failures, part 8: fix error in compare_fields_by_table_...

Author: Sergey Petrunia
Author Date: 2019-12-18 18:53:19 UTC

MDEV-21341: Fix UBSAN failures, part 8: fix error in compare_fields_by_table_order

Dont assign Item_field variables to point to Item_string objects (even if we
don't make any dangerous calls for them).

bb-10.4-vicentiu 2019-12-18 10:26:58 UTC 2019-12-18
Merge branch '10.3' into 10.4

Author: Vicențiu Ciorbaru
Author Date: 2019-12-18 10:26:58 UTC

Merge branch '10.3' into 10.4

bb-10.1-kevgs 2019-12-18 09:34:14 UTC 2019-12-18
MDEV-21337 fix aligned_malloc()

Author: Eugene
Author Date: 2019-12-17 13:50:58 UTC

MDEV-21337 fix aligned_malloc()

do not fallback to malloc(), always return properly aligned buffer

bb-10.4-MDEV-21335 2019-12-18 06:22:07 UTC 2019-12-18
MDEV-21335 : Galera test failure on suite wsrep

Author: Jan Lindström
Author Date: 2019-12-18 06:22:07 UTC

MDEV-21335 : Galera test failure on suite wsrep

Problem was that wsrep_on was OFF.

This is 10.4 version.

bb-10.3-robert 2019-12-17 14:37:46 UTC 2019-12-17
Use get_ident_len in heartbeat event error messages

Author: Markus Mäkelä
Author Date: 2019-12-05 05:58:02 UTC

Use get_ident_len in heartbeat event error messages

The string doesn't appear to be null-terminated when binlog checksums are
enabled. This causes a corrupt binlog name in the error message when a
slave is ahead of the master.

bb-10.2-MDEV-21335 2019-12-17 10:10:36 UTC 2019-12-17
MDEV-21335 : Galera test failure on suite wsrep

Author: Jan Lindström
Author Date: 2019-12-17 10:10:36 UTC

MDEV-21335 : Galera test failure on suite wsrep

Problem was that wsrep_on was OFF.

bb-10.5-anel-MYSQL_PWD-MDEV-20125 2019-12-17 08:52:18 UTC 2019-12-17
Redact MYSQL_PWD environment variable under Linux

Author: Georg Sauthoff
Author Date: 2019-07-22 18:36:50 UTC

Redact MYSQL_PWD environment variable under Linux

Under Linux, when using the `mysql` client binary, passing the
password via the MYSQL_PWD environment variable is more secure
than passing it on the command line with the --password option,
because:

- the argument vector is world-readable via /proc/$pid/cmdline
- although the cmdline password is overwritten by the `mysql`
  process (with a bunch of `x` characters),
  there is still a time window after process start and overwrite
  where the password can be observed by any user
- in contrast to that, the environment vector is only readable by
  the `mysql` invoking user and root

But having the password in cleartext easily accesible via
/proc/$pid/environ (or via an equivalent ps command) - even for a
restricted set of users - for the complete `mysql` client
runtime is suboptimal on sensitive systems.

As a defense-in-depth measure, this change redacts the MYSQL_PWD
environment variable under Linux. Thus, this increases the effort
for an attacker to read out the password (in contrast to just
being able to read out /proc/$pid/environ).

Note that this approach might also be effective on other systems,
but I've just tested it on Linux.

This change complements how the `mysql` client deals with
passwords supplied on the command line (cf. the --password option).

bb-10.5-hf 2019-12-16 21:50:25 UTC 2019-12-16
MDEV-14024 PCRE2.

Author: Alexey Botchkov
Author Date: 2019-12-16 21:50:25 UTC

MDEV-14024 PCRE2.

PCRE2 library added.

bb-10.1-bar 2019-12-16 09:08:17 UTC 2019-12-16
Merge remote-tracking branch 'origin/5.5' into 10.1

Author: Alexander Barkov
Author Date: 2019-12-16 09:08:17 UTC

Merge remote-tracking branch 'origin/5.5' into 10.1

bb-10.4-MDEV-20726-alter-utf8 2019-12-12 13:49:41 UTC 2019-12-12
MDEV-20726 InnoDB: Assertion failure in file data0type.cc line 67

Author: Eugene
Author Date: 2019-10-14 15:13:02 UTC

MDEV-20726 InnoDB: Assertion failure in file data0type.cc line 67

Do not rebuild index when it's key part converted from utf8mb3 to utf8mb4
but key part stays the same.

dict_index_add_to_cache(): assert that prefix_len is divided by mbmaxlen

ha_innobase::compare_key_parts(): compare key part lenght in symbols instead
of bytes.

bb-10.4-kevgs 2019-12-12 08:34:17 UTC 2019-12-12
optimize crash recovery

Author: Eugene
Author Date: 2019-12-11 17:38:28 UTC

optimize crash recovery

recv_dblwr_t::list is used for appending to the beginning and iterating
through its elements. std::deque fits better for that purpose because
it does less allocations than std::forward_list and provides better memory
locality.

bb-10.2-wlad 2019-12-11 10:22:03 UTC 2019-12-11
MDEV-11345 Compile english error messages into mysqld executable.

Author: Vladislav Vaintroub
Author Date: 2019-12-11 10:22:03 UTC

MDEV-11345 Compile english error messages into mysqld executable.

Simplify loading messages into mariabackup. Do the same as server does
We're forcing english, so there is no attempt to load errmsg.sys

bb-10.4-spider-ks 2019-12-05 19:56:57 UTC 2019-12-05
fix compiler warnings

Author: Kentoku SHIBA
Author Date: 2019-12-05 19:32:56 UTC

fix compiler warnings

bb-10.3-anel-MDEV-18323 2019-12-05 12:23:36 UTC 2019-12-05
After review fix

Author: Anel Husakovic
Author Date: 2019-12-05 12:23:32 UTC

After review fix

- Delete byte at the end of key/values
- Add space after colon for keys and comma for values
- Escaping character `'` should be ignored

10.3-vicentiu 2019-12-04 21:37:04 UTC 2019-12-04
cleanup

Author: Vicențiu Ciorbaru
Author Date: 2019-12-04 21:37:04 UTC

cleanup

bb-10.3-varun 2019-12-04 14:45:38 UTC 2019-12-04
MDEV-20900: IN predicate to IN subquery conversion causes performance regression

Author: varun
Author Date: 2019-12-04 14:34:45 UTC

MDEV-20900: IN predicate to IN subquery conversion causes performance regression

Disable the IN predicate to IN subquery conversion when the types on the left and
right hand side of the IN predicate are not of comparable type.

1100 of 489 results

Other repositories

Name Last Modified
lp:maria 2 hours ago
lp:~maria-captains/maria/+git/connector-c 2018-01-08
12 of 2 results
You can't create new repositories for MariaDB.