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-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-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.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-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.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-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-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-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.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.

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.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-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.

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-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.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).

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.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-maria-s3 2019-05-13 11:01:45 UTC 2019-05-13
MDEV-17841 S3 storage engine

Author: Monty
Author Date: 2019-04-15 15:16:02 UTC

MDEV-17841 S3 storage engine

A read-only storage engine that stores it's data in (aws) S3

To store data in S3 one could use ALTER TABLE:
ALTER TABLE table_name ENGINE=S3

libmarias3 integration done by Sergei Golubchik
libmarias3 created by Andrew Hutchings

bb-10.4-monty2 2019-05-13 09:58:47 UTC 2019-05-13
Removed obsolete file maria_rename.sh

Author: Monty
Author Date: 2019-05-13 09:58:47 UTC

Removed obsolete file maria_rename.sh

bb-10.3-17390 2019-05-13 06:29:11 UTC 2019-05-13
empty commit 3

Author: Sachin Setiya
Author Date: 2019-05-13 06:29:11 UTC

empty commit 3

bb-10.5-svoj-MDEV-19439 2019-05-10 19:53:12 UTC 2019-05-10
MDEV-19439 - Revert orig_thd hack

Author: Sergey Vojtovich
Author Date: 2019-05-10 19:19:05 UTC

MDEV-19439 - Revert orig_thd hack

This patch is to be squashed with previous one when MDEV-19439 is fixed.
Causes assertion failurs currently.

10.4-drrtuy-MCOL-2178 2019-05-10 15:11:15 UTC 2019-05-10
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 in all
SELECT_LEX_UNITs for the purpose.

bb-10.3-wlad 2019-05-10 12:48:33 UTC 2019-05-10
Fixed compiler warning in pcregrep.c

Author: Monty
Author Date: 2019-05-10 12:48:33 UTC

Fixed compiler warning in pcregrep.c

bb-10.2-anel-MDEV19205 2019-05-08 13:55:20 UTC 2019-05-08
MDEV 1930 Sphinx unable to connect using a host name

Author: Anel Husakovic
Author Date: 2019-05-08 13:40:37 UTC

MDEV 1930 Sphinx unable to connect using a host name

- Enable the test `sphinx.sphinx` which was disabled by MDEV 10986,
  comit ee0094d2fd48dac0c
- ADd test case to `sphinx.sphinx` to cover host as localhost instead of 127.0.0.1
- Add result file for single test

bb-10.1-MDEV-19405 2019-05-07 09:51:59 UTC 2019-05-07
MDEV-19405: Galera test failure on galera_parallel_autoinc_largetrx

Author: Jan Lindström
Author Date: 2019-05-07 09:51:59 UTC

MDEV-19405: Galera test failure on galera_parallel_autoinc_largetrx

Test case was not stable. Fixed also galera_parallel_autoinc_manytrx
as it has the same problem.

bb-hf-mdev-18661-plugin 2019-05-07 06:26:55 UTC 2019-05-07
MDEV-18661

Author: Alexey Botchkov
Author Date: 2019-05-07 06:26:55 UTC

MDEV-18661

lock_atomic initialization added.

bb-10.1-MDEV-19404 2019-05-07 06:10:56 UTC 2019-05-07
MDEV-19404: Assertion failure on !is_thread_specific || (mysqld_server_initia...

Author: Jan Lindström
Author Date: 2019-05-07 06:10:56 UTC

MDEV-19404: Assertion failure on !is_thread_specific || (mysqld_server_initialized && thd)

In wsrep_plugins_post_init we iterate all theads and if they are
galera appliers (wsrep_applier) we init session variables. However,
current_thd was not set and recent changes on session variables
require holding LOCK_gloal_system_variables mutex.

bb-10.4-igor 2019-05-06 18:14:39 UTC 2019-05-06
MDEV-18689 Simple query with extra brackets stopped working

Author: Igor Babaev
Author Date: 2019-05-06 18:14:39 UTC

MDEV-18689 Simple query with extra brackets stopped working

Parenthesis around table names and derived tables should be allowed
in FROM clauses and some other context as it was in earlier versions.

Returned test queries that used such parenthesis in 10.3 to their
original form. Adjusted test results accordingly.

bb-10.4-MDEV-18990 2019-05-03 12:31:37 UTC 2019-05-03
MDEV-18990 Wrong result when binary column is used as a condition in hexadeci...

Author: Kentoku SHIBA
Author Date: 2019-05-01 05:46:23 UTC

MDEV-18990 Wrong result when binary column is used as a condition in hexadecimal mode

bb-10.4-collapse 2019-05-03 07:13:32 UTC 2019-05-03
MDEV-18552 MDEV-18699 allowing SR only in galera 4 cluster (#1293)

Author: seppo
Author Date: 2019-05-03 07:13:32 UTC

MDEV-18552 MDEV-18699 allowing SR only in galera 4 cluster (#1293)

Streaming replication must be allowed only in a cluster, where all nodes
have Galera 4 capability

bb-10.1-MDEV-17883 2019-05-02 11:07:24 UTC 2019-05-02
MDEV-17883: CREATE TABLE IF NOT EXISTS locking changes in 10.3.10

Author: Jan Lindström
Author Date: 2019-05-02 11:07:24 UTC

MDEV-17883: CREATE TABLE IF NOT EXISTS locking changes in 10.3.10

Based on pull request https://github.com/MariaDB/server/pull/999
by mkaruza@galeracluster.com

bb-10.3-anel-MDEV18323 2019-04-30 09:29:55 UTC 2019-04-30
Enable reading Mysql json type only for alter force

Author: Anel Husakovic
Author Date: 2019-04-24 10:21:08 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 HOW and WHY ?

bb-10.4-robert-build 2019-04-30 09:08:57 UTC 2019-04-30
MDEV-17709 Remove handlerton::state

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

MDEV-17709 Remove handlerton::state

bb-10.1-wlad 2019-04-29 20:57:21 UTC 2019-04-29
MDEV-19243 Fix timezone handling on Windows to report standard timezone names

Author: Vladislav Vaintroub
Author Date: 2019-04-29 20:57:21 UTC

MDEV-19243 Fix timezone handling on Windows to report standard timezone names

bb-10.1-MDEV-14180 2019-04-27 06:18:11 UTC 2019-04-27
Fix compiler errors/warnings and use os_wait_event for

Author: Jan Lindström
Author Date: 2019-04-27 06:18:11 UTC

Fix compiler errors/warnings and use os_wait_event for
key rotation list.

bb-10.1-MDEV-19265 2019-04-27 06:12:21 UTC 2019-04-27
MDEV-19265 Server should throw warning if event is created and event_schedule...

Author: Vladislav Vaintroub
Author Date: 2019-04-25 16:51:28 UTC

MDEV-19265 Server should throw warning if event is created and event_scheduler = OFF

bb-10.3-cpp11 2019-04-27 01:59:53 UTC 2019-04-27
One more compilation error fix for c++11 in runtime code

Author: Vlad Lesin
Author Date: 2019-04-25 20:36:42 UTC

One more compilation error fix for c++11 in runtime code

10.2-MDEV-17603 2019-04-26 15:22:22 UTC 2019-04-26
WIP: MDEV-17603 REPLACE and INSERT…ON DUPLICATE KEY UPDATE are deadlock-prone

Author: Marko Mäkelä
Author Date: 2019-04-26 14:55:35 UTC

WIP: MDEV-17603 REPLACE and INSERT…ON DUPLICATE KEY UPDATE are deadlock-prone

Implement an alternative fix for the bug whose original fix
mysql/mysql-server@c93b0d9a972cb6f98fd445f2b69d924350f9128a
in MySQL 5.7.4 caused problems.

This is based on
mysql/mysql-server@e0e4bacddf421550baca3578bc0db13693874fdb
in MySQL 5.7.26.

When performing a rollback to the start of the current row
operation in REPLACE or INSERT...ON DUPLICATE KEY UPDATE
we were not maintaining serializability, because we would
release implicit locks that could already have been acquired
for some of the indexes.

lock_rec_convert_impl_to_expl_for_trx(): Declare globally.

undo_node_t::convert_impl_to_expl(): Convert an implicit lock
to an explicit one during a partial rollback.

row_insert_for_mysql(): Set trx->duplicates=ULINT_UNDEFINED
for rolling back the current row operation. This will allow
undo_node_t::convert_impl_to_expl() to be effective only
for this use case, not for other scenarios, such as
rolling back to the start of the statement, or
ROLLBACK TO SAVEPOINT.

FIXME: Neither innodb.auto_increment_dup,log-bin nor the
upstream fix (which we did not add) innodb.iodku pass.
While the undo_node_t::convert_impl_to_expl() is working
as intended, what happens in innodb.auto_increment_dup,log-bin
is that the newly created explicit record lock for the record
heap number 6 on the PRIMARY key root page (3) will be released
when that record is deleted moments later, with the following
stack trace:

lock_rec_reset_nth_bit
lock_rec_reset_and_release_wait_low
lock_rec_reset_and_release_wait
lock_update_delete
btr_cur_optimistic_delete_func
row_undo_ins_remove_clust_rec
row_undo_ins
row_undo
row_undo_step
que_thr_step
que_run_threads_low
que_run_threads
trx_rollback_to_savepoint_low
trx_rollback_to_savepoint
row_mysql_handle_errors
row_insert_for_mysql

The idea might work with predicate locks, which we do not have.
This entire scenario could also be fixed by MDEV-16232, which
could allow the entire operation to be protected with page latches.

bb-5.5-release 2019-04-26 06:55:37 UTC 2019-04-26
fix the test for embedded

Author: Sergei Golubchik
Author Date: 2019-04-26 06:55:37 UTC

fix the test for embedded

bb-10.3-jani 2019-04-24 15:09:36 UTC 2019-04-24
Merge branch '10.3' of github.com:MariaDB/server into bb-10.3-jani

Author: Jani
Author Date: 2019-04-24 15:09:36 UTC

Merge branch '10.3' of github.com:MariaDB/server into bb-10.3-jani

bb-10.4-thiru 2019-04-24 11:31:42 UTC 2019-04-24
MDEV-19229 Increase the undo log tablespace during startup

Author: Thirunarayanan Balathandayuthapani
Author Date: 2019-04-24 11:31:42 UTC

MDEV-19229 Increase the undo log tablespace during startup

Basically it avoids the accessing of TRX_SYS page before reading the
redo log. I have to change few test case failure.

Todo:
=====
- Remove the duplicate code in fill_metadata and read_page0 of fil_node_t
- Remove the parameter in srv_validate_undo_tablespaces()
- Remove the un-necessary code in srv_undo_tablespaces_init()
- Name the newly introduced function properly.
- Working on dynamic change of innodb_undo_tablespaces.

st-10.4-MDEV-17591 2019-04-24 03:04:43 UTC 2019-04-24
Another comment to cause a file change for buildbot

Author: Rasmus Johansson
Author Date: 2019-04-24 03:04:43 UTC

Another comment to cause a file change for buildbot

10.4-staging 2019-04-23 09:45:28 UTC 2019-04-23
MDEV-9234 Add Type_handler::union_element_finalize()

Author: Alexander Barkov
Author Date: 2019-04-23 09:45:28 UTC

MDEV-9234 Add Type_handler::union_element_finalize()

bb-10.0-mdev17297 2019-04-18 18:08:08 UTC 2019-04-18
MDEV-17297: stats.records=0 for a table of Archive engine when it has rows, w...

Author: Sergey Petrunia
Author Date: 2019-04-18 17:56:56 UTC

MDEV-17297: stats.records=0 for a table of Archive engine when it has rows, when we run ANALYZE command

Archive storage engine assumed that any query that attempts to read from
the table will call ha_archive::info() beforehand. ha_archive would flush
un-written data in that call (this would make it visible for the reads).

Break this assumption. Flush the data when the table is opened for reading.

This way, one can do multiple write statements without causing a flush, but
as soon as we might need the data, we flush it.

bb-10.4-mdev19266 2019-04-18 15:56:14 UTC 2019-04-18
MDEV-19266: Crash in EITS code when enabling 128 indexes

Author: Sergey Petrunia
Author Date: 2019-04-18 15:56:14 UTC

MDEV-19266: Crash in EITS code when enabling 128 indexes

Do not attempt to set param->table->with_impossible_ranges if the
range optimizer is using pseudo-indexes (which is true when we are
computing EITS selectivity estimates or doing partition pruning).

bb-10.4-aix-build-fix 2019-04-18 06:37:05 UTC 2019-04-18
MDEV-19274 mariadb does not build on OSes that do not have HAVE_POOL_OF_THREADS

Author: Vladislav Vaintroub
Author Date: 2019-04-18 04:50:59 UTC

MDEV-19274 mariadb does not build on OSes that do not have HAVE_POOL_OF_THREADS

Do not try to compile threadpool_common.cc, if threadpool is not available
on current OS.

Also introduced undocumented/uncached CMake variable DISABLE_THREADPOOL,
to emulate builds on exotic OSes.

bb-10.4-MDEV-19238 2019-04-17 13:52:56 UTC 2019-04-17
MDEV-19238 Mariadb spider - crashes on where null

Author: Kentoku SHIBA
Author Date: 2019-04-17 12:25:12 UTC

MDEV-19238 Mariadb spider - crashes on where null

bb-10.4-mdev-19256 2019-04-16 04:20:57 UTC 2019-04-16
MDEV-19256 sql_acl.cc does not compile with WITH_VALGRIND with gcc 8.0

Author: Alexander Barkov
Author Date: 2019-04-16 04:20:57 UTC

MDEV-19256 sql_acl.cc does not compile with WITH_VALGRIND with gcc 8.0

Turning initializing code into constructors.

bb-10.2-wlad-release 2019-04-15 16:22:27 UTC 2019-04-15
Fix test case

Author: Vladislav Vaintroub
Author Date: 2019-04-15 14:54:48 UTC

Fix test case

bb-10.2-snow-threadpool 2019-04-15 11:28:10 UTC 2019-04-15
threadpool : Make throttling interval depend on thread_pool_stall_limit

Author: Vladislav Vaintroub
Author Date: 2019-04-15 11:28:10 UTC

threadpool : Make throttling interval depend on thread_pool_stall_limit

A thread_pool_stall_limit which is smaller than default would result
in quicker creation of threads.

bb-10.4-MDEV-19003 2019-04-11 09:53:49 UTC 2019-04-11
MDEV-19003 ignore send <cache> to remote

Author: Kentoku SHIBA
Author Date: 2019-04-11 09:03:22 UTC

MDEV-19003 ignore send <cache> to remote
It's just added regression tests.

bb-hf-10.4-mdev7974 2019-04-08 11:33:28 UTC 2019-04-08
MDEV-7974 SA transactions.

Author: Alexey Botchkov
Author Date: 2019-04-08 11:33:28 UTC

MDEV-7974 SA transactions.

Failing tests added.

bb-10.4-MDEV-18987 2019-04-06 22:55:58 UTC 2019-04-06
MDEV-18987 bug in "load data local infile xxx replace into "

Author: Kentoku SHIBA
Author Date: 2019-04-06 16:39:54 UTC

MDEV-18987 bug in "load data local infile xxx replace into "
It's just added regression tests.

bb-10.4-vp-ks 2019-04-04 21:26:13 UTC 2019-04-04
MDEV-7795 Merge vertical partitioning storage engine

Author: Kentoku SHIBA
Author Date: 2019-04-04 21:23:57 UTC

MDEV-7795 Merge vertical partitioning storage engine

bb-5.5-wlad 2019-04-04 12:10:13 UTC 2019-04-04
MDEV-17610 Unexpected connection abort after certain operations from within s...

Author: Vladislav Vaintroub
Author Date: 2019-04-04 12:10:13 UTC

MDEV-17610 Unexpected connection abort after certain operations from within stored procedure

Always set SERVER_MORE_RESULTS_EXIST when executing stored procedure statements

If statements produce a result, EOF packet needs this flag (SP ends
with an OK packet). IF statetement does not produce a result, affected rows
count are part of the final OK packet.

bb-10.4-andrei_for_monty2 2019-03-30 16:45:46 UTC 2019-03-30
Review of 05cae92e524: last_used_log_number increment is made to follow last_...

Author: Andrei Elkin
Author Date: 2019-03-30 16:45:46 UTC

Review of 05cae92e524: last_used_log_number increment is made to follow last_binlog_id pattern.

bb-10.2-compatibility 2019-03-29 06:32:41 UTC 2019-03-29
Re-enable WITH_WSREP=ON by default

Author: Marko Mäkelä
Author Date: 2019-03-29 06:32:41 UTC

Re-enable WITH_WSREP=ON by default

This partially reverts commit f903a4213438a1ed1b72ce55897f7332785406be.

The Debian packaging assumes that WITH_WSREP=ON is enabled.
The script debian/autobake-deb.sh is editing
debian/mariadb-server-10.2.install before it invokes cmake
via debian/rules. We would know the value of WITH_WSREP only
after invoking cmake.

Also, startup on systemd-based platforms could fail
due to the systemd scripts assuming WITH_WSREP=ON.

10.0 2019-03-27 09:54:34 UTC 2019-03-27
MDEV-18417/MDEV-18656/MDEV-18417: Work around compiler ASAN bug

Author: Marko Mäkelä
Author Date: 2019-03-27 09:34:53 UTC

MDEV-18417/MDEV-18656/MDEV-18417: Work around compiler ASAN bug

In a Ubuntu Xenial build environment, the compiler identified as
g++-5.real (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
seems to be emitting incorrect code for the compilation unit
trx0rec.cc, triggering a bogus-looking AddressSanitizer report
of an invalid read of something in the function trx_undo_rec_get_pars().
This is potentially affecting any larger tests where the InnoDB
purge subsystem is being exercised.

When the optimization level of trx0rec.cc is limited to -O1, no
bogus failure is being reported. With -O2 or -O3, a lot of things
seemed to be inlined in the function, and the disassembly of the
generated code did not make sense to me.

bb-10.0-sujatha 2019-03-18 10:27:44 UTC 2019-03-18
MDEV-18913: typo in error log

Author: Sujatha Sivakumar
Author Date: 2019-03-18 10:27:44 UTC

MDEV-18913: typo in error log

Problem:
========
Following typo in error log:

2019-03-13 15:58:10 0 [Note] Reading of all Master_info entries succeded

Should be 'succeeded'

Fix:
===
Fixed the typo with the right word 'succeeded'.

bb-10.4-MDEV-18726 2019-03-15 11:49:18 UTC 2019-03-15
Merge branch '10.4-MDEV-18726-large-page-overallocate' of https://github.com/...

Author: Marko Mäkelä
Author Date: 2019-03-15 11:49:18 UTC

Merge branch '10.4-MDEV-18726-large-page-overallocate' of https://github.com/grooverdan/mariadb-server into HEAD

bb-10.2-MDEV-13895-v2 2019-03-08 05:58:04 UTC 2019-03-08
Version 2

Author: Sujatha Sivakumar
Author Date: 2019-03-08 05:58:04 UTC

Version 2

10.4-serg 2019-03-07 15:18:31 UTC 2019-03-07
ANALYZE SELECT with PS fix

Author: Oleksandr Byelkin
Author Date: 2019-03-07 15:18:31 UTC

ANALYZE SELECT with PS fix

bb-10.4-elenst-no-mdev371 2019-02-26 14:50:16 UTC 2019-02-26
MDEV-18719 Assertion (c.prtype ^ o->prtype) & ... failed on ALTER TABLE

Author: Marko Mäkelä
Author Date: 2019-02-25 13:35:00 UTC

MDEV-18719 Assertion (c.prtype ^ o->prtype) & ... failed on ALTER TABLE

The prtype & DATA_LONG_TRUE_VARCHAR flag only plays a role when
converting between InnoDB internal format and the MariaDB SQL layer
row format. Ideally this flag would never have been persisted in the
InnoDB data dictionary.

There were bogus assertion failures when an instant ADD, DROP, or
column reordering was combined with a change of extending a VARCHAR
from less than 256 bytes to more than 255 bytes. Such changes are
allowed starting with MDEV-15563 in MariaDB 10.4.3.

dict_table_t::instant_column(), dict_col_t::same_format(): Ignore
the DATA_LONG_TRUE_VARCHAR flag, because it does not affect the
persistent storage format.

bb-10.2-bar 2019-02-23 05:52:47 UTC 2019-02-23
Backporting MDEV-15597 Add class Load_data_outvar and avoid using Item::STRIN...

Author: Alexander Barkov
Author Date: 2018-03-20 09:02:44 UTC

Backporting MDEV-15597 Add class Load_data_outvar and avoid using Item::STRING_ITEM for Item_user_var_as_out_param detection

This is a part of "MDEV-18045 Backporting the MDEV-15497 changes to 10.2 branch"

10.4-MDEV-17805 2019-02-20 20:42:18 UTC 2019-02-20
WIP MDEV-17805: Remove InnoDB cache for temporary tables

Author: Marko Mäkelä
Author Date: 2019-02-20 20:42:18 UTC

WIP MDEV-17805: Remove InnoDB cache for temporary tables

The intention is to link dict_table_t to TABLE_SHARE.

FIXME: Implement ha_innobase::delete_table() for temporary tables.
FIXME: Implement rollback of ha_innobase::create() for temporary tables.

FIXME: Currently, DBUG_ASSERT(s) fails in ha_innobase::open() because
we fail to pass the InnoDB_share from ha_innobase::create().
This seems to happen for any ALTER TABLE that uses ALGORITHM=COPY

(Old note from December, maybe not true any more:)
An assignment to TABLE_SHARE::ha_share would not work either, because
create() and open() will use different TABLE_SHARE.

bb-10.3.11-xtrabackup_copy_logfile_failed-MDEV-18611 2019-02-19 09:13:56 UTC 2019-02-19
MDEV-18611: mariabackup silently ended during xtrabackup_copy_logfile()

Author: Vlad Lesin
Author Date: 2019-02-18 07:14:21 UTC

MDEV-18611: mariabackup silently ended during xtrabackup_copy_logfile()

log_t::files::read_log_seg() can return true without changing
*start_lsn, what can cause an error in xtrabackup_copy_logfile() retry logic.

bb-10.4-vicentiu 2019-02-18 21:48:07 UTC 2019-02-18
Cleanup statistics test

Author: Vicențiu Ciorbaru
Author Date: 2019-02-18 21:48:07 UTC

Cleanup statistics test

bb-10.4-mdev18608 2019-02-18 10:29:01 UTC 2019-02-18
MDEV-18608: Defaults for 10.4: histogram size should be set

Author: Sergey Petrunia
Author Date: 2019-02-18 10:29:01 UTC

MDEV-18608: Defaults for 10.4: histogram size should be set

Followup: update test results

bb-10.4-mdev16188 2019-02-15 19:31:58 UTC 2019-02-15
Merge branch '10.4' into bb-10.4-mdev16188

Author: Sergei Golubchik
Author Date: 2019-02-15 19:31:24 UTC

Merge branch '10.4' into bb-10.4-mdev16188

bb-10.2-mariabackup-remove-nolock 2019-02-14 07:45:25 UTC 2019-02-14
MDEV-18573: avoid backup inconsistency in 10.2

Author: Vlad Lesin
Author Date: 2019-02-13 13:01:38 UTC

MDEV-18573: avoid backup inconsistency in 10.2

--no-lock and --lock-ddl-per-table options deprecared, the corresponing
code is removed. aria_log_control is copied first and aria_log.# files last
under FTWRL.

bb-10.4-mdev17096 2019-02-13 22:59:34 UTC 2019-02-13
Merge branch '10.4' into bb-10.4-mdev17096

Author: Igor Babaev
Author Date: 2019-02-13 22:59:34 UTC

Merge branch '10.4' into bb-10.4-mdev17096

bb-10.4-wolfssl 2019-02-12 23:31:38 UTC 2019-02-12
WIP

Author: Vladislav Vaintroub
Author Date: 2019-02-12 23:31:38 UTC

WIP

10.4-vicentiu-histograms 2019-02-09 23:43:15 UTC 2019-02-09
Default Bernoulli Sampling implementation

Author: Vicențiu Ciorbaru
Author Date: 2019-02-09 23:43:15 UTC

Default Bernoulli Sampling implementation

bb-10.4-vicentiu-histograms 2019-02-09 23:43:15 UTC 2019-02-09
Default Bernoulli Sampling implementation

Author: Vicențiu Ciorbaru
Author Date: 2019-02-09 23:43:15 UTC

Default Bernoulli Sampling implementation

10.0-galera 2019-02-04 21:49:23 UTC 2019-02-04
bump the VERSION

Author: Daniel Bartholomew
Author Date: 2019-02-04 21:49:23 UTC

bump the VERSION

10.4-mdev16188 2019-02-03 20:25:17 UTC 2019-02-03
MDEV-16188: cleaup of the previous commit.

Author: Igor Babaev
Author Date: 2019-02-03 20:25:17 UTC

MDEV-16188: cleaup of the previous commit.

bb-14005-hf 2019-02-03 17:23:35 UTC 2019-02-03
MODIFY idx_read_map

Author: Alexey Botchkov
Author Date: 2019-02-03 17:23:35 UTC

MODIFY idx_read_map

bb-10.4-hf 2019-02-01 22:06:05 UTC 2019-02-01
MDEV-14005

Author: Alexey Botchkov
Author Date: 2019-02-01 22:06:05 UTC

MDEV-14005

5.5-galera 2019-02-01 15:47:27 UTC 2019-02-01
bump the VERSION

Author: Daniel Bartholomew
Author Date: 2019-02-01 15:47:27 UTC

bump the VERSION

101200 of 389 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.