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.4 2019-06-18 09:36:29 UTC 2 hours ago
MDEV-18832 Galera: 10.4 node crashed with Assertion `state() == s_committing'...

Author: mkaruza
Author Date: 2019-06-18 09:36:29 UTC

MDEV-18832 Galera: 10.4 node crashed with Assertion `state() == s_committing' if you create SEQUENCE, use it, then drop and recreate and use again (#1339)

We could still end committing to binlog even in rollback.
Do not proceed with WSREP commit in this case.

10.3 2019-06-18 09:29:54 UTC 2 hours ago
MDEV-18940 Galera: Rolling upgrade: all nodes except upgraded node5 failed wi...

Author: mkaruza
Author Date: 2019-06-18 09:29:54 UTC

MDEV-18940 Galera: Rolling upgrade: all nodes except upgraded node5 failed with Assertion `meta->gtid.seqno == wsrep_thd_trx_seqno(thd)' with SEQUENCEs (#1342)

Empty write sets will not trigger apply callback, and will not
update thread wsrep_trx_meta.gtid.seqno. Because of that assert will
be triggered when commit callback is called.

bb-10.3-merge 2019-06-18 09:11:33 UTC 2 hours ago
Merge 10.2 into 10.3

Author: Marko Mäkelä
Author Date: 2019-06-18 09:11:33 UTC

Merge 10.2 into 10.3

10.5 2019-06-18 08:30:06 UTC 3 hours ago
Merge 10.4 into 10.5

Author: Marko Mäkelä
Author Date: 2019-06-18 08:30:06 UTC

Merge 10.4 into 10.5

bb-10.4-sujatha 2019-06-18 08:28:02 UTC 3 hours ago
MDEV-19716: ASAN use-after-poison in Query_log_event::Query_log_event / THD::...

Author: Sujatha
Author Date: 2019-06-18 08:27:03 UTC

MDEV-19716: ASAN use-after-poison in Query_log_event::Query_log_event / THD::log_events_and_free_tmp_shares

Analysis:
========
When a given client session ends on a master, the server logs a DROP TEMPORARY
TABLE IF EXISTS statement for each temporary table that still exists in the
current session. It ensures a proper temporary table cleanup on the slave. In
order to write the DROP TEMPORARY TABLE query in binary log a 'Query_log_event'
object is created. Within the 'Query_log_event' constructor
'thd->lex->sql_command' is read to identify what type of cache needs to be
used to write the query. When the code reaches here as part of THD::cleanup
the 'thd->lex->sql_command' will be in an invalid state. The 'thd->lex' could
have been cleared or it could be pointing to a statement which was in the
middle of execution when the session ended. In such cases ASAN reports
use-after-poison error.

Fix:
===
The 'THD::Cleanup' code invokes 'THD::log_events_and_free_tmp_shares' to look
for temporary tables and write appropriate DROP TABLE stmts for them. This
cleanup code provides a special flag named 'direct=TRUE' to the
Query_log_event constructor. Having 'direct=TRUE' means that this query
doesn't require any caching. Hence in this scenario the 'Query_log_event'
constructor should respect the 'direct' flag and simply skip the logic of
deciding the type of cache to be used for the statement. Hence the code will
not access the stale lex object.

bb-10.1-MDEV-19660 2019-06-18 08:24:26 UTC 3 hours ago
MDEV-19660: wsrep_rec_get_foreign_key() is dereferencing a stale pointer to a...

Author: Jan Lindström
Author Date: 2019-06-04 10:19:40 UTC

MDEV-19660: wsrep_rec_get_foreign_key() is dereferencing a stale pointer to a page that was previously latched

In row_ins_foreign_check_on_constraint(), clustered index record is being passed to wsrep_append_foreign_key() after releasing the latch. If a record has been changed by other thread in the meantime then it could lead to a crash when
wsrep_rec_get_foreign_key () tries to access the record.

wsrep_append_foreign_key
 Added call to error reporting function and debug error injection.

row_ins_foreign_report_err_low
 Moved actual error reporting to a file to this low level function.

row_ins_foreign_report_err
 Use new row_ins_foreign_report_err_low function for error reporting
 to a file.

wsrep_report_foreign_key_error
 New function to report foreign key errors when appending a key for
 Galera processing.

row_ins_foreign_check_on_constraint
 Use cascade->pcur->old_rec instead of clust_rec.

bb-5.5-robert 2019-06-18 08:15:26 UTC 3 hours ago
MDEV-19531 Add colors to mtr

Author: Eugene
Author Date: 2019-05-27 10:18:24 UTC

MDEV-19531 Add colors to mtr

Colors possibility auto detected. [ such ] stuff is colored.

Patch by Sergei Golubchik

bb-10.3-bar 2019-06-18 02:35:07 UTC 9 hours ago
MDEV-17363 - Compressed columns cannot be restored from dump

Author: Alexander Barkov
Author Date: 2019-06-18 00:58:15 UTC

MDEV-17363 - Compressed columns cannot be restored from dump

In collaboration with Sergey Vojtovich <svoj@mariadb.org>

The COMPRESSED clause is now a part of the data type and goes immediately
after the data type and length, but before the CHARACTER SET clause,
and before column attributes such as DEFAULT, COLLATE, ON UPDATE,
SYSTEM VERSIONING, engine specific column attributes.

In the old reduction, the COMPRESSED clause was a column attribute.

New syntax:
  <varchar or text data type> <length> <compression> <character set> <column attributes>
  <varbinary or blob data type> <length> <compression> <column attributes>

New syntax examples:
  VARCHAR(1000) COMPRESSED CHARACTER SET latin1 DEFAULT ''
  BLOB COMPRESSED DEFAULT ''

Deprecate syntax examples:
  VARCHAR(1000) CHARACTER SET latin1 COMPRESSED DEFAULT ''
  TEXT CHARACTER SET latin1 DEFAULT '' COMPRESSED
  VARBINARY(1000) DEFAULT '' COMPRESSED

As a side effect:
- COMPRESSED is not a valid SP name in SQL/PSM routines any more
  (but it's still valid SP name in sql_mode=ORACLE)

- COMPRESSED is now allowed in combination with GENERATED ALWAYS AS:

  TEXT COMPRESSED GENERATED ALWAYS AS REPEAT('a',1000)

bb-10.4-serg 2019-06-17 21:44:29 UTC 14 hours ago
enable TLSv1.0 in WolfSSL

Author: Sergei Golubchik
Author Date: 2019-06-17 21:12:42 UTC

enable TLSv1.0 in WolfSSL

bb-10.4-release 2019-06-17 21:41:43 UTC 14 hours ago
bugfix: crash on the empty db name

Author: Sergei Golubchik
Author Date: 2019-06-17 21:33:04 UTC

bugfix: crash on the empty db name

followup for 0a43df4fbc7

5.5 2019-06-17 21:23:10 UTC 14 hours ago
MDEV-19790 Wrong result for query with outer join and IS NOT TRUE predicate

Author: Igor Babaev
Author Date: 2019-06-17 21:23:10 UTC

MDEV-19790 Wrong result for query with outer join and IS NOT TRUE predicate
           in where clause

The classes Item_func_isnottrue and Item_func_isnotfalse inherited the
implementation of the eval_not_null_tables method from the Item_func
class. As a result the not_null_tables_cache was set incorrectly for
the objects of these classes. It led to improper conversion of outer
joins to inner joins when the where clause of the processed query
contained IS NOT TRUE or IS NOT FALSE predicates. The coverted query
in many cases produced a wrong result set.

bb-10.4-MDEV-18737 2019-06-17 18:32:41 UTC 17 hours ago
MDEV-18737 Spider "Out of memory" on armv7hl

Author: Kentoku SHIBA
Author Date: 2019-06-17 16:43:07 UTC

MDEV-18737 Spider "Out of memory" on armv7hl

This is an issue of memory alignment of variable argument when calling my_multi_malloc().
The fix is strictly casting allocating size to "uint".

10.2 2019-06-17 18:01:15 UTC 17 hours ago
Fix debug assert to match its intention.

Author: Vladislav Vaintroub
Author Date: 2019-06-17 18:01:15 UTC

Fix debug assert to match its intention.

Do not check my_errno before it is set, check errno instead.
Also, do not check errno, if prior pread() did not fail.

bb-10.4-spider-ks 2019-06-17 16:43:07 UTC 19 hours ago
MDEV-18737 Spider "Out of memory" on armv7hl

Author: Kentoku SHIBA
Author Date: 2019-06-17 16:43:07 UTC

MDEV-18737 Spider "Out of memory" on armv7hl

This is an issue of memory alignment of variable argument when calling my_multi_malloc().
The fix is strictly casting allocating size to "uint".

bb-10.4-monty 2019-06-17 15:03:15 UTC 20 hours ago
Fixed 'access to freed memory' bug in aria_chk

Author: Michael Widenius
Author Date: 2019-06-17 08:32:26 UTC

Fixed 'access to freed memory' bug in aria_chk

bb-10.5-wlad 2019-06-17 14:50:59 UTC 20 hours ago
MDEV-19787 Speedup Table_map_iterator, via compiler intrinsics

Author: Vladislav Vaintroub
Author Date: 2019-06-17 14:50:59 UTC

MDEV-19787 Speedup Table_map_iterator, via compiler intrinsics

Use __builtin_ctzll on GCC/Clang and _BitScanForward/_BitScanForward64 on
MSVC to speed up Table_map_iterator::next_bit(), up to 3 times in benchmarks

bb-10.4-MDEV-17301-charset-nocopy 2019-06-17 14:18:10 UTC 21 hours ago
NFC: narrow Field::is_equal() argument type

Author: Eugene
Author Date: 2019-06-17 13:54:47 UTC

NFC: narrow Field::is_equal() argument type

bb-10.5-marko 2019-06-17 12:38:14 UTC 23 hours ago
Exclusively use page_zip_reorganize() for ROW_FORMAT=COMPRESSED

Author: Marko Mäkelä
Author Date: 2019-06-17 12:38:14 UTC

Exclusively use page_zip_reorganize() for ROW_FORMAT=COMPRESSED

page_zip_reorganize(): Restore the page on failure.
In callers, omit now-redundant calls to page_zip_decompress().

btr_page_reorganize_low(): Define in static scope only, and
remove the z_level parameter. Assert that ROW_FORMAT is not COMPRESSED.

btr_page_reorganize_block(), btr_page_reorganize(): Invoke
page_zip_reorganize() for ROW_FORMAT=COMPRESSED.

bb-10.4-midenok 2019-06-17 12:22:02 UTC 23 hours ago
MDEV-18929 2nd execution of SP does not detect ER_VERS_NOT_VERSIONED

Author: midenok
Author Date: 2019-06-17 11:53:48 UTC

MDEV-18929 2nd execution of SP does not detect ER_VERS_NOT_VERSIONED

Don't do skip_setup_conds() unless all errors are checked.

Fixes following errors:
      ER_PERIOD_NOT_FOUND
      ER_VERS_QUERY_IN_PARTITION
      ER_VERS_ENGINE_UNSUPPORTED
      ER_VERS_NOT_VERSIONED

bb-10.1-monty 2019-06-17 10:19:46 UTC 2019-06-17
Fixed Aria recovery progress printing

Author: Michael Widenius
Author Date: 2019-06-13 17:42:13 UTC

Fixed Aria recovery progress printing

- When recovery failed, errors would not be printed on
  new lines.
- Print more information if file lengths are changed
- Added logging of table name for entries INCOMPLETE_LOG and
  REDO_REPAIR_TABLE

bb-10.2-wlad 2019-06-17 08:56:00 UTC 2019-06-17
MDEV-19750 mysql command wrong encoding

Author: Vladislav Vaintroub
Author Date: 2019-06-17 08:56:00 UTC

MDEV-19750 mysql command wrong encoding

Restore the detection of default charset in command line utilities.
It worked up to 10.1, but was broken by Connector/C.

Moved code for detection of default charset from sql-common/client.c
to mysys, and make command line utilities to use this code if charset
was not specified on the command line.

bb-10.1-robert 2019-06-17 08:28:18 UTC 2019-06-17
MDEV-19636 Usage message for plugin activation option doesn't mention FORCE_P...

Author: Anel Husakovic
Author Date: 2019-06-10 16:07:49 UTC

MDEV-19636 Usage message for plugin activation option doesn't mention FORCE_PLUS_PERMANENT

In addition same message is applied for mtr

MDEV-19781 2019-06-17 07:43:01 UTC 2019-06-17
MDEV-19781 Create MariaDB named commands on Windows

Author: Rasmus Johansson
Author Date: 2019-06-17 07:43:01 UTC

MDEV-19781 Create MariaDB named commands on Windows

bb-10.5-MDEV-19780 2019-06-17 07:22:12 UTC 2019-06-17
MDEV-19780 Remove the TokuDB storage engine

Author: Marko Mäkelä
Author Date: 2019-06-17 07:07:54 UTC

MDEV-19780 Remove the TokuDB storage engine

The TokuDB storage engine has been deprecated by upstream
Percona Server 8.0 in favor of MyRocks and will not be available
in subsequent major upstream releases.

Let us remove it from MariaDB Server as well.
MyRocks is actively maintained, and it can be used instead.

bb-10.2-myrocks-merge 2019-06-16 20:21:12 UTC 2019-06-16
Fix typo

Author: Sergey Petrunia
Author Date: 2019-06-16 20:21:12 UTC

Fix typo

bb-10.5-bar 2019-06-16 15:03:47 UTC 2019-06-16
MDEV-19772 Add helper classes for ST_FIELD_INFO

Author: Alexander Barkov
Author Date: 2019-06-16 03:51:59 UTC

MDEV-19772 Add helper classes for ST_FIELD_INFO

bb-10.2-mdev17045 2019-06-15 16:55:57 UTC 2019-06-15
MDEV-17045: MyRocks tables cannot be updated when binlog_format=MIXED.

Author: Sergey Petrunia
Author Date: 2019-06-15 16:55:57 UTC

MDEV-17045: MyRocks tables cannot be updated when binlog_format=MIXED.

bb-10.4-wlad 2019-06-15 14:04:49 UTC 2019-06-15
MDEV-19702 Refactor Bitmap<N> to be based on ulonglong, not on uint32

Author: Vladislav Vaintroub
Author Date: 2019-06-15 14:04:49 UTC

MDEV-19702 Refactor Bitmap<N> to be based on ulonglong, not on uint32

Also improved Table_map_interator to more efficiently search for next bit
in ulonglong, using compiler intrinsics on MSVC, GCC and Clang
This speeds up next_bit() up to 4 times in tests.

Removed Field_map, since it was used only in a single function.

Fixed is_indexed_agg_distinct(), since it relied on initialization of
Bitmap in constructor.

bb-10.4-MDEV-17591 2019-06-15 06:13:06 UTC 2019-06-15
MDEV-17592 Create MariaDB named commands/symlinks

Author: Rasmus Johansson
Author Date: 2019-05-18 06:11:01 UTC

MDEV-17592 Create MariaDB named commands/symlinks

10.1 2019-06-14 21:02:55 UTC 2019-06-14
MDEV-18661 loading the audit plugin causes performance regression.

Author: Alexey Botchkov
Author Date: 2019-06-14 21:02:55 UTC

MDEV-18661 loading the audit plugin causes performance regression.

Plugin fixed to not lock the LOCK_operations when not active.
Server fixed to lock the LOCK_plugin less - do it once per
thread and then only if a plugin was installed/uninstalled.

10.4-merge 2019-06-14 13:03:03 UTC 2019-06-14
fix for WSREP call

Author: Oleksandr Byelkin
Author Date: 2019-06-14 13:03:03 UTC

fix for WSREP call

bb-10.3-release 2019-06-14 12:22:14 UTC 2019-06-14
Merge branch '10.2-release' into 10.3-release

Author: Oleksandr Byelkin
Author Date: 2019-06-14 12:22:14 UTC

Merge branch '10.2-release' into 10.3-release

bb-10.2-release 2019-06-14 10:41:06 UTC 2019-06-14
MDEV-19633 ASAN use-after-poison in tree_insert() in main.func_gconcat

Author: Sergei Golubchik
Author Date: 2019-06-14 10:28:51 UTC

MDEV-19633 ASAN use-after-poison in tree_insert() in main.func_gconcat

when copying the TREE, take into account that init_tree can
internally adjust tree->size_of_element

10.4-midenok 2019-06-14 08:02:24 UTC 2019-06-14
mysql-test-run: imply --force when --max-test-fail is specified from command ...

Author: midenok
Author Date: 2019-06-13 09:13:08 UTC

mysql-test-run: imply --force when --max-test-fail is specified from command line

bb-hf-mdev-18661 2019-06-14 07:32:30 UTC 2019-06-14
MDEV-18661 loading the audit plugin causes performance regression.

Author: Alexey Botchkov
Author Date: 2019-06-14 07:32:30 UTC

MDEV-18661 loading the audit plugin causes performance regression.

Plugin fixed to not lock the LOCK_operations when not active.
Server fixed to lock the LOCK_plugin less - do it once per thread
and then only if a plugin was installed/uninstalled.

bb-10.4-varun 2019-06-14 07:15:55 UTC 2019-06-14
MDEV-19634: Assertion `0' failed in row_sel_convert_mysql_key_to_innobase, [W...

Author: varun
Author Date: 2019-06-14 06:46:17 UTC

MDEV-19634: Assertion `0' failed in row_sel_convert_mysql_key_to_innobase, [Warning] InnoDB: Using a partial-field key prefix in search

For a key with keyparts (k1,k2,k3) , if we are building a range over the keyparts
we should make sure that if min_value/max_value for a keypart is not added to
key buffer then the keyparts following should also not be allowed.

bb-10.4-MDEV14101 2019-06-14 04:39:27 UTC 2019-06-14
Fix for embedded test

Author: Georg Richter
Author Date: 2019-06-14 04:39:27 UTC

Fix for embedded test

bb-anel-10.3-refactor-store_schema_params 2019-06-13 14:55:58 UTC 2019-06-13
Do empty job for package/package body - refactor store_schema_params()

Author: Anel Husakovic
Author Date: 2019-06-13 14:55:58 UTC

Do empty job for package/package body - refactor store_schema_params()

nm/period-fk-linear 2019-06-13 13:28:08 UTC 2019-06-13
mtr: add --continue-on-error; clarify --max-test-run; deprecate --force

Author: Nikita Malyavin
Author Date: 2019-06-13 13:28:08 UTC

mtr: add --continue-on-error; clarify --max-test-run; deprecate --force

* add --continue-on-error in favor of `--force --force`. Works same as
same-named mysqltest option. Actually, just bypasses it to mysqltest.

* --max-test-run does not require --force anymore.

* --force behaves as before, but marked as deprecated,
e. g. sets `--max-test-run` option to 10, if not set up otherwise

bb-10.4-svoj-MDEV-17441 2019-06-13 12:04:47 UTC 2019-06-13
WiP

Author: Sergey Vojtovich
Author Date: 2019-06-13 12:04:47 UTC

WiP

bb-10.5-MDEV-18863 2019-06-13 11:59:54 UTC 2019-06-13
MDEV-18863: Galera SST scripts can't read [mysqldN] option groups

Author: Julius Goryavsky
Author Date: 2019-06-13 11:59:54 UTC

MDEV-18863: Galera SST scripts can't read [mysqldN] option groups

Some users and some scripts (for example, mysqld_multi.sh) use special
option groups with names like [mysqld1], [mysqld2], ..., [mysqldN].

But SST scripts can't currently fully support these option groups.
The only option group-related value it gets from the server is
--defaults-group-suffix from the server, if that option was set
for mysqld when the server was started.

However, the SST script does not get told by the server to read
these option groups, so this means that the SST script will fail to
read options like innodb-data-home-dir when it is in a option group
like [mysqld1]...[mysqldN].

Moreover, SST scripts ignore many parameters that can be passed
to them explicitly and cannot transfer them further, for example,
to the input of mariabackup utility. Ideally, we want to transfer
all the parameters of the original mysqld call to utilities such
as mariabackup, however the SST script does not receive these
parameters and therefore cannot transfer them to mariabackup.

To correct these shortcomings, we need to add a transfer to the
script of all the parameters of the original mysqld call, and in
the SST scripts themselves provide for the transfer of these
parameters to utilities such as mariabackup. To prevent these
parameters from mixing with the script's own parameters, they
should be transferred to SST script after the special option
"--mysqld-args", followed by the line of the original parameters,
as received by mysqld call at the time of launch (further all
these parameters will be passed to mariabackup, for example).

In addition, the SST scripts themselves must be refined so that
they can read the parameters from the user-selected group, not just
from the global mysqld configuration group. And also so that they
can receive the parameters (which important for their work) as
command-line arguments.

bb-10.3-MDEV-19435 2019-06-13 11:01:06 UTC 2019-06-13
MDEV-19435 buf_fix_count > 0 for corrupted page when it exits the LRU list

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-06-13 11:01:06 UTC

MDEV-19435 buf_fix_count > 0 for corrupted page when it exits the LRU list

Problem:
=========
One of the purge thread access the corrupted page and tries to remove from
LRU list. In the mean time, other purge threads are waiting for same page
in buf_wait_for_read(). Assertion(buf_fix_count == 0) fails for the
purge thread which tries to remove the page from LRU list.

Solution:
========
- Set the page id as FIL_NULL to indicate the page is corrupted before removing
the block from LRU list. Acquire hash lock for the particular page id and
wait for the other threads to release buf_fix_count for the block.

- Added the error check for btr_cur_open() in row_search_on_row_ref().

10.5-mdev8306 2019-06-13 09:20:46 UTC 2019-06-13
Print tables inside order by nest in the optimizer trace

Author: varun
Author Date: 2019-06-13 09:15:52 UTC

Print tables inside order by nest in the optimizer trace

bb-10.3-MDEV-17091 2019-06-13 07:18:10 UTC 2019-06-13
Assertion `old_part_id == m_last_part' failed in ha_partition::update_row or ...

Author: Nikita Malyavin
Author Date: 2019-03-04 09:09:30 UTC

Assertion `old_part_id == m_last_part' failed in ha_partition::update_row or `part_id == m_last_part' in ha_partition::delete_row upon UPDATE/DELETE after dropping versioning

PRIMARY KEY change hadn't been treated as partition reorganization in case of partitioning by KEY() (without parameters).

* set `*partition_changed= true` in the described case.
* since add/drop system versioning does not affect alter_info->key_list, it required separate attention

nm/mtr-force-doc 2019-06-13 06:15:52 UTC 2019-06-13
mysql-test-run: mention --force in --max-test-fail description

Author: Nikita Malyavin
Author Date: 2019-06-13 06:15:52 UTC

mysql-test-run: mention --force in --max-test-fail description

bb-10.1-release 2019-06-12 20:54:46 UTC 2019-06-12
Merge branch '5.5' into 10.1

Author: Oleksandr Byelkin
Author Date: 2019-06-12 20:54:46 UTC

Merge branch '5.5' into 10.1

bb-10.3-andrei 2019-06-12 15:14:42 UTC 2019-06-12
MDEV-18450 wait for all slaves shutdown

Author: Andrei Elkin
Author Date: 2019-06-12 15:14:42 UTC

MDEV-18450 wait for all slaves shutdown

backport to 10.3.

bb-10.3-MDEV-17891 2019-06-12 12:11:45 UTC 2019-06-12
MDEV-17891 Assertion failures in select_insert::abort_result_set and mysql_lo...

Author: Nikita Malyavin
Author Date: 2019-03-05 11:12:54 UTC

MDEV-17891 Assertion failures in select_insert::abort_result_set and mysql_load upon attempt to replace into a full table

* set modified_non_trans_table in one missed place

bb-anel-json-v2-alter_force-10.3 2019-06-12 08:41:41 UTC 2019-06-12
Enable reading Mysql json type only for alter force

Author: Anel Husakovic
Author Date: 2019-04-23 10:58:26 UTC

Enable reading Mysql json type only for alter force

- Used ALTER_RECREATE flag from lex
- Added test case
- Problem: changed .frm file with alter force as there is no newly
created field_mysql_json -@todo why?

bb-10.1-MDEV-18328 2019-06-11 20:38:13 UTC 2019-06-11
MDEV-18328: Make DISKS plugin check some privilege to access information_sche...

Author: Oleksandr Byelkin
Author Date: 2019-06-08 15:36:52 UTC

MDEV-18328: Make DISKS plugin check some privilege to access information_schema.DISKS table

Check FILE privelege.

bb-10.4-MDEV-14101 2019-06-11 19:54:45 UTC 2019-06-11
MDEV-14101 Provide an option to select TLS protocol version

Author: Georg Richter
Author Date: 2019-06-11 10:44:16 UTC

MDEV-14101 Provide an option to select TLS protocol version

Server and command line tools now support option --tls_version to specify the
TLS version between client and server. Valid values are TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3
or a combination of them. E.g.

--tls_version=TLSv1.3
--tls_version=TLSv1.2,TLSv1.3

In case there is a gap between versions, the lowest version will be used:
--tls_version=TLSv1.1,TLSv1.3 -> Only TLSv1.1 will be available.

If the used TLS library doesn't support the specified TLS version, it will use
the default configuration.

Limitations:

SSLv3 is not supported. The default configuration doesn't support TLSv1.0 anymore.
TLSv1.3 protocol currently is only supported by OpenSSL 1.1.0 (client and server) and
GnuTLS 3.6.5 (client only).

Overview of TLS implementations and protocols

Server:

+-----------+-----------------------------------------+
| Library | Supported TLS versions |
+-----------+-----------------------------------------+
| WolfSSL | TLSv1.1, TLSv1,2 |
+-----------+-----------------------------------------+
| OpenSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+
| LibreSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+

Client (MariaDB Connector/C)
+-----------+-----------------------------------------+
| Library | Supported TLS versions |
+-----------+-----------------------------------------+
| GnuTLS | (TLSv1.0), TLSv1.1, TLSv1.2, TLSv1.3 |
+-----------+-----------------------------------------+
| Schannel | (TLSv1.0), TLSv1.1, TLSv1.2 |
+-----------+-----------------------------------------+
| OpenSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+
| LibreSSL | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3 |
+-----------+-----------------------------------------+

bb-10.4-MDEV-16249 2019-06-11 16:42:45 UTC 2019-06-11
MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all da...

Author: Sergei Golubchik
Author Date: 2019-06-11 15:51:09 UTC

MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all data in memory in the spider head by default (#1328)

followup for be5c432a42e

ha_partition::calculate_checksum() has to invoke calculate_checksum()
for partitions unconditionally, not under (HA_HAS_OLD_CHECKSUM | HA_HAS_NEW_CHECKSUM).
Because the server uses ::info() to ask for a live checksum, while
calculate_checksum() must, precisely, calculate it the slow way,
also for tables that don't have the live checksum at all.

Also, fix the compilation on Windows (ha_checksum/ulonglong type mix).

bb-10.1-MDEV-16866 2019-06-11 11:47:27 UTC 2019-06-11
MDEV-16866 InnoDB fails to start upon crash recovery with "[ERROR] InnoDB: Re...

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-06-11 11:47:27 UTC

MDEV-16866 InnoDB fails to start upon crash recovery with "[ERROR] InnoDB: Redo log crypto: failed to decrypt log block"

- If InnoDB encounters garbage or incomplete written log block during
recovery then don't throw the error. Treat it as end of the log.
- This kind of incomplete or empty block can be result of killing
InnoDB when writing the redo log.

bb-MDEV14101 2019-06-10 07:15:49 UTC 2019-06-10
Fixed windows build

Author: Georg Richter
Author Date: 2019-06-10 07:15:49 UTC

Fixed windows build

bb-10.4-MDEV-6268 2019-06-10 04:59:18 UTC 2019-06-10
MDEV-6268 SPIDER table with no COMMENT clause causes queries to wait forever

Author: Kentoku SHIBA
Author Date: 2019-05-28 07:40:59 UTC

MDEV-6268 SPIDER table with no COMMENT clause causes queries to wait forever
Add mysql_mutex_timedlock() and add the following parameter to Spider
- spider_internal_lock_wait_timeout
  The timeout when Spider tries to get internal locks.
  0 or more : the tomeout. (second)
  The default value is -1

bb-anel-json-v2-10.3-recursion 2019-06-09 14:18:16 UTC 2019-06-09
Add MYSQL_TYPE_BIT case

Author: Anel Husakovic
Author Date: 2019-06-09 14:16:18 UTC

Add MYSQL_TYPE_BIT case

bb-10.2-mdev19714 2019-06-07 23:28:29 UTC 2019-06-07
MDEV-19714: JOIN::pseudo_bits_cond is not visible in EXPLAIN FORMAT=JSON

Author: Sergey Petrunia
Author Date: 2019-06-07 23:28:29 UTC

MDEV-19714: JOIN::pseudo_bits_cond is not visible in EXPLAIN FORMAT=JSON

Make it visible

bb-10.4-wlad-128-indexes 2019-06-07 09:41:18 UTC 2019-06-07
MDEV-19709 Bitmap<128>::merge etc may crash on older GCC versions

Author: Vladislav Vaintroub
Author Date: 2019-06-07 09:41:18 UTC

MDEV-19709 Bitmap<128>::merge etc may crash on older GCC versions

Older GCC generates SSE instruction on not-128-bit-aligned data in
Bitmap<128>::buffer

Workaround by forcing GCC not to use SSE on Bitmap<N> template.

bb-10.2-serg 2019-06-06 22:07:14 UTC 2019-06-06
Fix mysql-test-run.pl to work after d6d5c168cf1

Author: Sergei Golubchik
Author Date: 2019-06-06 22:07:14 UTC

Fix mysql-test-run.pl to work after d6d5c168cf1

option values now have to be edited in-place,
instead of replacing an option with another one
that has the same name but a new value.

bb-10.5-robert 2019-06-06 10:58:20 UTC 2019-06-06
MDEV-17709 Remove handlerton::state

Author: Robert Bindar
Author Date: 2019-04-24 06:00:59 UTC

MDEV-17709 Remove handlerton::state

bb-10.2-MDEV-19695 2019-06-05 18:16:21 UTC 2019-06-05
MDEV-19695 Import tablespace doesn't work with compressed encrypted tablespace

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-06-05 18:16:21 UTC

MDEV-19695 Import tablespace doesn't work with compressed encrypted tablespace

Problem:
=======
fil_iterate() writes imported tablespace page0 as it is to discarded
tablespace. Space id wasn't even changed. While opening the tablespace,
tablespace fails with space id mismatch error.

Fix:
====
fil_iterate() copies the page0 with discarded space id to imported
tablespace.

bb-10.3-mdev19600 2019-06-05 11:00:45 UTC 2019-06-05
MDEV-19600: The optimizer should be able to produce rows=1 estimate for uniqu...

Author: Sergey Petrunia
Author Date: 2019-05-27 07:40:04 UTC

MDEV-19600: The optimizer should be able to produce rows=1 estimate for unique index with NULLable columns

Modify best_access_path() to produce rows=1 estimate for null-rejecting
lookups on unique NULL keys.

10.5-mdev-11588 2019-06-04 19:53:10 UTC 2019-06-04
MDEV-11588 Support for ONLY_FULL_GROUP_BY functional dependency

Author: Galina Shalygina
Author Date: 2019-05-14 20:44:04 UTC

MDEV-11588 Support for ONLY_FULL_GROUP_BY functional dependency

Implement a simple case when INNER join is used.
Support cases when primary key or unique keys are used in GROUP BY or
DISTINCT (then all fields of this table can be used in SELECT list or
HAVING).
Support a case when virtual column is used. If it is defined with GROUP BY
fields then it can be used in SELECT list.

bb-10.2-varun 2019-06-04 17:53:10 UTC 2019-06-04
MDEV-18015: Assertion `global_status_var.global_memory_used == 0' failed when...

Author: varun
Author Date: 2019-06-04 07:11:52 UTC

MDEV-18015: Assertion `global_status_var.global_memory_used == 0' failed when using UDF , window functions and views

Adding destructor for Group_bound_tracker to free Cached_item_str.
The Cached_item for window functions are allocated on THD:mem_root
but the Cached_item_str has value of type string which is allocated on
the heap, so we need to call free() for it

10.5-MDEV-19514 2019-06-04 13:06:39 UTC 2019-06-04
MDEV-19514 Defer change buffer merge until pages are requested

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-06-04 13:06:39 UTC

MDEV-19514 Defer change buffer merge until pages are requested

- Basically it sorts the undo log records based on table id.
- All table entries in one batch assigned by the same purge thread
- It avoids contention on dict_index_t::lock

bb-10.1-sujatha 2019-06-04 09:05:28 UTC 2019-06-04
MDEV-14760:Replication does not take into account SET STATEMENT

Author: Sujatha
Author Date: 2019-06-04 09:05:28 UTC

MDEV-14760:Replication does not take into account SET STATEMENT

Draft version.

bb-10.4-wlad-wolfssl 2019-06-04 05:44:10 UTC 2019-06-04
fastmath does not work on linux x86

Author: Vladislav Vaintroub
Author Date: 2019-06-04 05:44:10 UTC

fastmath does not work on linux x86

bb-anel-json-v2 2019-06-03 10:05:26 UTC 2019-06-03
Add support to INT32, UINT64

Author: Anel Husakovic
Author Date: 2019-06-03 10:05:22 UTC

Add support to INT32, UINT64

- Added a test case for ints ->works
- Same analogy should be applied to other int types ->todo with tests
- Analysis done

bb-10.2-monty 2019-06-03 07:37:38 UTC 2019-06-03
Fixed bug in online alter table when not compiled with performance schema

Author: Monty
Author Date: 2019-06-02 13:30:33 UTC

Fixed bug in online alter table when not compiled with performance schema

os_file_write_func() and os_file_read_no_error_handling_func() returned
different result values depending on if UNIV_PFS_IO was defined or not.

Other things:
- Added some comments about return values for some functions

bb-10.1-bar 2019-06-03 04:04:20 UTC 2019-06-03
MDEV-19675 Wrong charset is chosen when opening a pre-4.1 table

Author: Alexander Barkov
Author Date: 2019-06-03 03:54:15 UTC

MDEV-19675 Wrong charset is chosen when opening a pre-4.1 table

bb-5.5-serg 2019-05-30 18:59:34 UTC 2019-05-30
MDEV-19491 update query stopped working after mariadb upgrade 10.2.23 -> 10.2.24

Author: Sergei Golubchik
Author Date: 2019-05-22 19:56:36 UTC

MDEV-19491 update query stopped working after mariadb upgrade 10.2.23 -> 10.2.24

as well as

MDEV-19500 Update with join stopped worked if there is a call to a procedure in a trigger
MDEV-19521 Update Table Fails with Trigger and Stored Function
MDEV-19497 Replication stops because table not found
MDEV-19527 UPDATE + JOIN + TRIGGERS = table doesn't exists error

Reimplement the fix for (5d510fdbf00)

MDEV-18507 can't update temporary table when joined with table with triggers on read-only

instead of calling open_tables() twice, put multi-update
prepare code inside open_tables() loop.

Add a test for a MDL backoff-and-retry loop inside open_tables()
across multi-update prepare code.

bb-10.4-bar 2019-05-30 13:03:26 UTC 2019-05-30
MDEV-19637 Crash on an SP variable assignment to a wrong subselect

Author: Alexander Barkov
Author Date: 2019-05-30 13:03:26 UTC

MDEV-19637 Crash on an SP variable assignment to a wrong subselect

10.4-drrtuy-MCOL-2178_2 2019-05-29 16:36:24 UTC 2019-05-29
MDEV-XXX find_select_handler now tries its best to find a handlerton that

Author: Roman Nozdrin
Author Date: 2019-05-10 15:07:36 UTC

MDEV-XXX find_select_handler now tries its best to find a handlerton that
    processes the whole query. find_select_handler traverses all tables for
    the purpose.

    Select_handler now cleans up temporary table structures on dctor call.

bb-10.3-sujatha 2019-05-28 10:47:30 UTC 2019-05-28
Merge from 10.2 to 10.3

Author: Sujatha
Author Date: 2019-05-28 10:47:30 UTC

Merge from 10.2 to 10.3

bb-10.2-sujatha 2019-05-28 09:03:44 UTC 2019-05-28
Merge from 10.1 to 10.2

Author: Sujatha
Author Date: 2019-05-28 09:03:44 UTC

Merge from 10.1 to 10.2

bb-10.4-marko 2019-05-27 17:14:49 UTC 2019-05-27
MDEV-19606: dict_v_col_t: Encapsulate v_indexes

Author: Marko Mäkelä
Author Date: 2019-05-27 17:14:49 UTC

MDEV-19606: dict_v_col_t: Encapsulate v_indexes

Remove the separate allocation and pointer indirection of
dict_v_col_t::v_indexes.

bb-10.2-mdev19608 2019-05-27 14:43:13 UTC 2019-05-27
MDEV-19608: MyRocks should check if it is compiled with CRC32 support

Author: Sergey Petrunia
Author Date: 2019-05-27 14:43:13 UTC

MDEV-19608: MyRocks should check if it is compiled with CRC32 support

- An attempt at checking that MyRocks ins compiled with fast CRC32

bb-hf-sup25102 2019-05-24 16:48:09 UTC 2019-05-24
Custom build.

Author: Alexey Botchkov
Author Date: 2019-05-24 16:48:09 UTC

Custom build.

bb-10.4-MDEV-16248 2019-05-24 07:32:11 UTC 2019-05-24
MDEV-16248 Row based replication to spider with float column fails on delete/...

Author: Kentoku SHIBA
Author Date: 2019-05-24 06:07:38 UTC

MDEV-16248 Row based replication to spider with float column fails on delete/update

bb-10.1-andrei 2019-05-23 18:13:11 UTC 2019-05-23
MDEV-17948 Assertion `thd_killed(thd) || !m_active_tranxs ..

Author: Andrei Elkin
Author Date: 2019-05-23 18:12:14 UTC

MDEV-17948 Assertion `thd_killed(thd) || !m_active_tranxs ..

Simulation of a big-sized event in rpl.rpl_semi_sync_skip_repl did not clean
up after itself so screw the last binlog event offset which could jump
backwards.
The test is refined to rotate a binlog file with simulation and use the next
one for logics of the test incl master-slave synchonization.

10.3-mdev15777 2019-05-23 17:30:42 UTC 2019-05-23
Addressed review

Author: varun
Author Date: 2019-05-23 11:50:01 UTC

Addressed review

bb-10.4-MDEV-18994 2019-05-23 07:30:37 UTC 2019-05-23
MDEV-18994 Fix the bug encountered when the size of (v1,v2,v3...) value list ...

Author: Kentoku SHIBA
Author Date: 2019-05-02 19:10:35 UTC

MDEV-18994 Fix the bug encountered when the size of (v1,v2,v3...) value list in “select * from tb where id in (v1, v2, v3...)” is greater than 1000
Some engines need to avoid in optimization.

bb-10.5-monty 2019-05-22 18:16:39 UTC 2019-05-22
Make it trivial to get stack traces from external programs.

Author: Monty
Author Date: 2019-05-17 13:34:35 UTC

Make it trivial to get stack traces from external programs.

To get a stacktrace in a program like aria_chk, one only have to do:

#include <my_stacktrace.h>

call my_init_stacktrace(1) in main().

bb-10.5-vicentiu 2019-05-22 18:16:39 UTC 2019-05-22
Make it trivial to get stack traces from external programs.

Author: Monty
Author Date: 2019-05-17 13:34:35 UTC

Make it trivial to get stack traces from external programs.

To get a stacktrace in a program like aria_chk, one only have to do:

#include <my_stacktrace.h>

call my_init_stacktrace(1) in main().

bb-5.5-MDEV-5924 2019-05-22 12:59:00 UTC 2019-05-22
MDEV-5924: MariaDB could crash after changing the query_cache size

Author: Oleksandr Byelkin
Author Date: 2019-05-22 12:59:00 UTC

MDEV-5924: MariaDB could crash after changing the query_cache size

The real problem was that attempt to roll back cahnes after end of memory in QC was made incorrectly and lead to using uninitialized memory.
(bug has nothing to do with resize operation, it is just lack of resources erro processed incorrectly)

bb-10.4-MDEV-19540 2019-05-21 14:10:03 UTC 2019-05-21
MDEV-19540: 10.4 allow lock options with SELECT in brackets which previous ve...

Author: Oleksandr Byelkin
Author Date: 2019-05-21 13:33:35 UTC

MDEV-19540: 10.4 allow lock options with SELECT in brackets which previous version do not

Check locking options and brackets combinations.

bb-10.1-varun 2019-05-21 13:04:18 UTC 2019-05-21
MDEV-19537: Document mysqlimport option ignore-foreign-keys

Author: Ian Gilfillan
Author Date: 2019-05-21 12:54:03 UTC

MDEV-19537: Document mysqlimport option ignore-foreign-keys

bb-10.2-MDEV-19509 2019-05-21 10:56:14 UTC 2019-05-21
- Addressed marko's review comments.

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-05-21 10:56:14 UTC

- Addressed marko's review comments.

bb-10.4-andrei 2019-05-20 19:32:37 UTC 2019-05-20
MDEV-7974: hton ref_count and more tests.

Author: Andrei Elkin
Author Date: 2019-05-20 19:32:37 UTC

MDEV-7974: hton ref_count and more tests.

ref_count may be found 1 at shutdown caused by "native" trx detach
which makes THD::ha_data[].ha_ptr zero to hook away the problematic counter decr.
The test part includes rpl_xa_gaps (todo: turn RC on slave whenever ROW format).

bb-10.3-serg 2019-05-20 17:46:01 UTC 2019-05-20
MDEV-16804 SYSTEM VERSIONING columns not showing as GENERATED

Author: midenok
Author Date: 2019-05-20 17:08:03 UTC

MDEV-16804 SYSTEM VERSIONING columns not showing as GENERATED

Closes #830

10.5-MDEV-18724 2019-05-20 11:39:59 UTC 2019-05-20
WIP: Explicit memory barriers

Author: Marko Mäkelä
Author Date: 2019-02-24 22:20:10 UTC

WIP: Explicit memory barriers

bb-10.3-varun 2019-05-20 11:10:08 UTC 2019-05-20
MDEV-15777: Support Early NULLs filtering-like restrictions in the range opti...

Author: varun
Author Date: 2019-05-20 09:44:30 UTC

MDEV-15777: Support Early NULLs filtering-like restrictions in the range optimizer

For eqjoin conditions, we add a NOT NULL predicate so as to allow the range optimizer
to use the predicate and possibly create a range access on the given table.

Example:
  select * from t1,t2 where t1.a=t2.a; we have KEY(a) on t1
  we would inject a NOT NULL predicate t1.a IS NOT NULL for table t1
  this would allow the range optimizer to create ranges and we get a
  range access on table t1, then we will be able
  to do an early NULL filtering for ranges too.

maria-s3 2019-05-20 08:22:43 UTC 2019-05-20
Make it trivial to get stack traces from external programs.

Author: Monty
Author Date: 2019-05-17 13:34:35 UTC

Make it trivial to get stack traces from external programs.

To get a stacktrace in a program like aria_chk, one only have to do:

#include <my_stacktrace.h>

call my_init_stacktrace(1) in main().

bb-10.4-MDEV-19002 2019-05-19 18:15:32 UTC 2019-05-19
MDEV-19002 Partition performance optimization

Author: Kentoku SHIBA
Author Date: 2019-05-19 17:05:22 UTC

MDEV-19002 Partition performance optimization
Add the partition options of the following function for batch call instead o
- store_lock
- external_lock
- start_stmt
- extra
- cond_push
- info_push
- top_table

bb-10.2-galera 2019-05-17 06:17:41 UTC 2019-05-17
Merge 10.1 into 10.2

Author: Jan Lindström
Author Date: 2019-05-17 06:17:41 UTC

Merge 10.1 into 10.2

bb-10.1-galera 2019-05-16 11:01:29 UTC 2019-05-16
Add flush status.

Author: Jan Lindström
Author Date: 2019-05-16 11:01:29 UTC

Add flush status.

bb-10.4-mdev19134 2019-05-16 08:50:01 UTC 2019-05-16
MDEV-19134: EXISTS() slower if ORDER BY is defined

Author: Sergey Petrunia
Author Date: 2019-05-10 09:47:44 UTC

MDEV-19134: EXISTS() slower if ORDER BY is defined

Step #2: "[ORDER BY ...] LIMIT n" should not prevent EXISTS-to-IN
conversion, as long as
- the LIMIT clause doesn't have OFFSET
- the LIMIT is not "LIMIT 0".

bb-10.4-anel-fix-typo 2019-05-15 15:32:59 UTC 2019-05-15
Fix echo message

Author: Anel Husakovic <Anel Husakovic>
Author Date: 2019-02-23 23:48:55 UTC

Fix echo message

bb-10.2-MDEV-19435 2019-05-14 12:31:49 UTC 2019-05-14
MDEV-19435 buf_fix_count > 0 for corrupted page when it exits the LRU list

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-05-10 12:24:41 UTC

MDEV-19435 buf_fix_count > 0 for corrupted page when it exits the LRU list

Problem:
=========
One of the purge thread access the corrupted page and tries to remove from
LRU list. In the mean time, other purge threads are waiting for same page
in buf_wait_for_read(). Assertion(buf_fix_count == 0) fails for the
purge thread which tries to remove the page from LRU list.

Solution:
========
- Set the page id as FIL_NULL to indicate the page is corrupted before removing
the block from LRU list. Acquire hash lock for the particular page id and
wait for the other threads to release buf_fix_count for the block.

- Added the error check for btr_cur_open() in row_search_on_row_ref().

bb-10.2-MDEV-16932 2019-05-14 12:01:15 UTC 2019-05-14
MDEV-16932: ASAN heap-use-after-free in my_charlen_utf8 / my_well_formed_char...

Author: Oleksandr Byelkin
Author Date: 2019-05-14 12:01:15 UTC

MDEV-16932: ASAN heap-use-after-free in my_charlen_utf8 / my_well_formed_char_length_utf8 on 2nd execution of SP with ALTER trying to add bad CHECK

In case of error the SP can be executed without re-comilation and so will reuse constructed constaint name, so the name should be allocated in the statement memory.

1100 of 367 results

Other repositories

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