maria:bb-10.4-danielblack-pr2435-libressl

Last commit made on 2023-02-08
Get this branch:
git clone -b bb-10.4-danielblack-pr2435-libressl https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-danielblack-pr2435-libressl
Repository:
lp:maria

Recent commits

dd5b648... by Fabrice Fontaine

include/ssl_compat.h: fix build with libressl >= 3.5.0

Fix the following build failure with libressl >= 3.5.0:

In file included from /tmp/instance-10/output-1/build/mariadb-10.3.36/vio/viosslfactories.c:18:
/tmp/instance-10/output-1/build/mariadb-10.3.36/vio/viosslfactories.c: In function 'get_dh2048':
/tmp/instance-10/output-1/build/mariadb-10.3.36/include/ssl_compat.h:68:45: error: invalid use of incomplete typedef 'DH' {aka 'struct dh_st'}
   68 | #define DH_set0_pqg(D,P,Q,G) ((D)->p= (P), (D)->g= (G))
      | ^~

Fixes:
 - http://autobuild.buildroot.org/results/524198344aafca58d214537af64c5961c407b0f8

Signed-off-by: Fabrice Fontaine <email address hidden>

17423c6... by Daniel Black

MDEV-30554 RockDB libatomic linking on riscv64

The existing storage/rocksdb/CMakeCache.txt defined
ATOMIC_EXTRA_LIBS when atomics where required. This was
determined by the toplevel configure.cmake test
(HAVE_GCC_C11_ATOMICS_WITH_LIBATOMIC).

As build_rocksdb.cmake is included after ATOMIC_EXTRA_LIBS
was set, we just need to use it. As such no riscv64
specific macro is needed in build_rocksdb.cmake.

As highlighted by Gianfranco Costamagna (@LocutusOfBorg)
in #2472 overwriting SYSTEM_LIBS was problematic.
This is corrected in case in future SYSTEM_LIBS is changed
elsewhere.

Closes #2472.

ecc93c9... by Daniel Black

MDEV-30492 Crash when use mariabackup.exe with config 'innodb_flush_method=async_unbuffered'

Normalize innodb_flush_method, the same as the service, before
attempting to print it.

762fe01... by Daniel Black

MDEV-30558: ER_KILL_{,QUERY_}DENIED_ERROR - normalize id type

The error string from ER_KILL_QUERY_DENIED_ERROR took a different
type to ER_KILL_DENIED_ERROR for the thread id. This shows
up in differences on 32 big endian arches like powerpc (Deb notation).

Normalize the passing of the THD->id to its real type of my_thread_id,
and cast to (long long) on output. As such normalize the
ER_KILL_QUERY_DENIED_ERROR to that convention too.

Note for upwards merge, convert the type to %lld on new translations
of ER_KILL_QUERY_DENIED_ERROR.

40adf52... by Oleksandr "Sanja" Byelkin

Merge branch '10.4.28' into 10.4

d8c7dc2... by Daniel Bartholomew <email address hidden>

bump the VERSION

f4b900e... by Daniel Black

MDEV-24301 [Warning] Aborted connection (This connection closed normally)

Warning on a normal graceful disconnnect is excessive, so lets not do
it.

MDEV-19282 restructed the code from 10.3 so applying this as a 10.4+
fix.

bef20b5... by Igor Babaev

MDEV-30538 Plans for SELECT and multi-table UPDATE/DELETE unexpectedly differ

This patch allowed transformation of EXISTS subqueries into equivalent
IN predicands at the top level of WHERE conditions for multi-table UPDATE
and DELETE statements. There was no reason to prohibit the transformation
for such statements. The transformation provides more opportunities of
using semi-join optimizations.

Approved by Oleksandr Byelkin <email address hidden>

0845bce... by Alexander Barkov

MDEV-30556 UPPER() returns an empty string for U+0251 in Unicode-5.2.0+ collations for utf8

c8f2e9a... by Oleksandr "Sanja" Byelkin

Fix number of rows passing in case of EQ_REF