lp:maria

Owned by Maria-captains
Get this repository:
git clone https://git.launchpad.net/maria

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/MariaDB/server.git.

The next import is scheduled to run in 4 hours.

Last successful import was 7 hours ago.

Import started 1 hour ago on alnitak and finished 1 hour ago taking 2 minutes — see the log
Import started 7 hours ago on alnitak and finished 7 hours ago taking 4 minutes — see the log
Import started 13 hours ago on alnitak and finished 13 hours ago taking 3 minutes — see the log
Import started 20 hours ago on alnitak and finished 20 hours ago taking 11 minutes — see the log
Import started on 2019-08-17 on alnitak and finished on 2019-08-17 taking 4 minutes — see the log
Import started on 2019-08-16 on alnitak and finished on 2019-08-16 taking 4 minutes — see the log
Import started on 2019-08-16 on alnitak and finished on 2019-08-16 taking 3 minutes — see the log
Import started on 2019-08-16 on alnitak and finished on 2019-08-16 taking 4 minutes — see the log
Import started on 2019-08-16 on alnitak and finished on 2019-08-16 taking 4 minutes — see the log
Import started on 2019-08-15 on alnitak and finished on 2019-08-15 taking 3 minutes — see the log

Branches

Name Last Modified Last Commit
bb-10.3-MDEV-19845 2019-06-26 19:06:11 UTC 2019-06-26
MDEV-19845: Adaptive spin loops

Author: Marko Mäkelä
Author Date: 2019-06-26 18:57:42 UTC

MDEV-19845: Adaptive spin loops

Starting with the Intel Skylake microarchitecture, the PAUSE
instruction latency is about 140 clock cycles instead of earlier 10.
On AMD processors, the latency could be 10 or 50 clock cycles,
depending on microarchitecture.

Because of this big range of latency, let us scale the loops around
the PAUSE instruction based on timing results at server startup.

my_cpu_relax_multiplier: New variable: How many times to invoke PAUSE
in a loop. Only defined for IA-32 and AMD64.

my_cpu_init(): Determine with RDTSC the time to run 16 PAUSE instructions
in two unrolled loops according, and based on the quicker of the two
runs, initialize my_cpu_relax_multiplier. This form of calibration was
suggested by Mikhail Sinyavin from Intel.

LF_BACKOFF(), ut_delay(): Use my_cpu_relax_multiplier when available.

ut_delay(): Define inline in my_cpu.h.

UT_COMPILER_BARRIER(): Remove. This does not seem to have any effect,
because in our ut_delay() implementation, no computations are being
performed inside the loop. The purpose of UT_COMPILER_BARRIER() was to
prohibit the compiler from reordering computations. It was not
emitting any code.

bb-10.4-monty 2019-06-26 17:41:44 UTC 2019-06-26
Limit minium aria_block_size to 4096

Author: Monty
Author Date: 2019-06-26 16:47:56 UTC

Limit minium aria_block_size to 4096

MDEV-19585 Assertion with S3 table and flush_tables

The limit has to be increased so that MariaDB can create system tables.
It should not have any notable impact on performance.

There should not be any notable performance differences between 1K and 4K,
especially for temporary tables. In most cases using bigger blocks is also
faster (with the possible exception of doing key reads of not fixed length
keys).

bb-5.5-svoj-MDEV-18783 2019-06-25 12:05:13 UTC 2019-06-25
MDEV-16686 - Assertion `(*tables)->reginfo.lock_type >= TL_READ' failed

Author: Sergey Vojtovich
Author Date: 2018-10-19 19:13:47 UTC

MDEV-16686 - Assertion `(*tables)->reginfo.lock_type >= TL_READ' failed
             in lock_external upon using a mix of trigger, view, SP

Prevent TL_IGNORE tables from being added to the SP's m_sptabs hash.

Test cases merged from MySQL rev 41c5f4a0235ac9375080c4c79d207fe429e94a2c
BUG#19988193: ASSERTION `(*TABLES)->REGINFO.LOCK_TYPE >= TL_READ'
              FAILED IN LOCK_EXTERNAL
BUG#21198646: ASSERTION FAILED: (*TABLES)->REGINFO.LOCK_TYPE >=
              TL_READ FILE LOCK.CC, LINE 356

bb-10.4-wlad 2019-06-21 18:08:42 UTC 2019-06-21
remove workaround from MDEV-9409

Author: Vladislav Vaintroub
Author Date: 2019-06-21 16:51:36 UTC

remove workaround from MDEV-9409

bb-10.5-svoj-MDEV-16470 2019-06-20 19:42:27 UTC 2019-06-20
MDEV-16470 - Session user variables tracker

Author: Sergey Vojtovich
Author Date: 2019-06-20 14:02:40 UTC

MDEV-16470 - Session user variables tracker

Based on contribution by Dapeng Huang.

bb-10.2-myrocks-merge 2019-06-20 18:34:15 UTC 2019-06-20
Fix tests: some build hosts have ramdisk in /run/shm instead of /dev/shm

Author: Sergey Petrunia
Author Date: 2019-06-20 18:34:15 UTC

Fix tests: some build hosts have ramdisk in /run/shm instead of /dev/shm

10.4-drrtuy-MCOL-2178_2 2019-06-19 21:31:51 UTC 2019-06-19
MDEV-XXX find_select_handler now tries its best to find a handlerton that

Author: Roman Nozdrin
Author Date: 2019-06-19 21:31:51 UTC

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

    Select_handler now cleans up temporary table structures on dctor call.

bb-10.5-marko 2019-06-19 13:06:28 UTC 2019-06-19
Remove page_copy_rec_list_end_to_created_page()

Author: Marko Mäkelä
Author Date: 2019-06-18 15:01:44 UTC

Remove page_copy_rec_list_end_to_created_page()

Also remove the log records MLOG_LIST_END_COPY_CREATED,
MLOG_COMP_LIST_END_COPY_CREATED and
page_parse_copy_rec_list_to_created_page().

FIXME: Do not disable tests

FIXME: Remove remaining references to the function and deduplicate code.

FIXME: Implement new reusable function (template?) for insert+reorganize.

bb-5.5-sujatha 2019-06-19 09:18:18 UTC 2019-06-19
MDEV-15010: Wrong Seconds_Behind_Master when only starting the SQL_Thread

Author: Sujatha
Author Date: 2019-06-19 09:18:18 UTC

MDEV-15010: Wrong Seconds_Behind_Master when only starting the SQL_Thread

Problem:
=======
When I run replication normally, I get a value in "Seconds_Behind_Master" from
"SHOW SLAVE STATUS". However, when I run only the SQL Thread (on local relay
logs that have been downloaded previously), I have "NULL" in
"Seconds_Behind_Master". I would expect to have a numeric value.

Fix:
===
Implemented following changes.
case 1: "Seconds_Behind_Master" shows 0, when SQL thread is in sync with IO
        thread and IO thread is running.
case 2: "Seconds_Behind_Master" reports NULL, when SQL thread is in sync with
        IO thread and IO thread is stopped.
case 3: "Seconds_Behind_Master" reports NULL, when SQL thread is stopped while
        IO thread is up and running.
case 4: "Seconds_Behind_Master" reports a valid numerical value when IO thread
        is stopped and SQL thread is consuming existing relay log.

bb-10.4-19049 2019-06-19 05:05:39 UTC 2019-06-19
MDEV-19049 Server crashes in check_duplicate_long_entry_key, ASAN stack-buffe...

Author: Sachin Setiya
Author Date: 2019-06-19 05:05:39 UTC

MDEV-19049 Server crashes in check_duplicate_long_entry_key, ASAN stack-buffer-overflow in Field_blob::get_key_image

Long Unique keys should always be last unique key.

bb-10.1-MDEV-19660 2019-06-18 08:24:26 UTC 2019-06-18
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 2019-06-18
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 2019-06-18
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)

10.4-opt_trace 2019-06-17 14:47:56 UTC 2019-06-17
Suggestion-3

Author: varun
Author Date: 2019-06-17 11:57:39 UTC

Suggestion-3

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

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

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

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

101200 of 396 results
This repository contains Public information 
Everyone can see this information.

Subscribers