maria:bb-10.4-MDEV-22203

Last commit made on 2020-04-23
Get this branch:
git clone -b bb-10.4-MDEV-22203 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-MDEV-22203
Repository:
lp:maria

Recent commits

b388ce2... by Jan Lindström

Trigger retest

7231454... by Jan Lindström

MDEV-22203: WSREP_ON is unnecessarily expensive to evaluate

Replaced WSREP_ON macro by single global variable WSREP_ON
that is then updated at server statup and on wsrep_on and
wsrep_provider update functions.

632b1de... by Teemu Ollakka <email address hidden>

MDEV-21025 Server crashes on START TRANSACTION after INSERT IGNORE (#1489)

If a transaction had no effect due to INSERT IGNORE and a new
transaction was started with START TRANSACTION without committing
the previous one, the server crashed on assertion when starting
a new wsrep transaction.

As a fix, refined the condition to do wsrep_commit_empty() at the end
of the ha_commit_trans().

68ceb4b... by Kentoku SHIBA

MDEV-20502 Queries against spider tables return wrong values for columns following constant declarations.

When executing a query like "select id, 0 as const, val from ...", there are 3 columns(items) in Query->select at handlerton->create_group_by(). After that, MariaDB makes a temporary table with 2 columns. The skipped items are const item, so fixing Spider to skip const items for items at Query->select.

00db9c6... by Kentoku SHIBA

MDEV-21884 MariaDB with Spider crashes on a query

c79051e... by Teemu Ollakka <email address hidden>

MDEV-22271 Excessive stack memory usage due to WSREP_LOG

- Made WSREP_LOG a function and moved the body out of header.
- Reduced the stack allocated buffer size and implemented
  reprint into dynamically allocated buffer if stack buffer is not
  large enough to hold the message.

af91266... by Marko Mäkelä

Merge 10.3 into 10.4

In main.index_merge_myisam we remove the test that was added in
commit a2d24def8cc42d27c72d833abfb39ef24a2b96ba because
it duplicates the test case that was added in
commit 5af12e463549e4bbc2ce6ab720d78937d5e5db4e.

5679a2b... by Sergey Vojtovich

Shrink my_atomic.h and my_cpu.h scope

6577a7a... by Eugene

fix tests related to SQL comment length

tests are:
engines/funcs.jp_comment_column
engines/funcs.jp_comment_index
engines/funcs.jp_comment_table

4bd9f82... by Sergey Vojtovich

slave_open_temp_tables to Atomic_counter