Skip to content

Commit 92abdcc

Browse files
committed
Merge 10.5 into 10.6
2 parents 8a4ca33 + a993310 commit 92abdcc

File tree

178 files changed

+3017
-1446
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+3017
-1446
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ addons:
4141
- g++-10 # In suites: focal, bionic (via ppa:ubuntu-toolchain-r/test)
4242
- gdb
4343
- libaio-dev
44+
- libarchive-dev
4445
- libboost-atomic-dev
4546
- libboost-chrono-dev
4647
- libboost-date-time-dev
@@ -50,11 +51,12 @@ addons:
5051
- libboost-system-dev
5152
- libboost-thread-dev
5253
- libcrack2-dev
53-
- libcurl3-dev
54+
- libcurl4-openssl-dev
5455
- libdbd-mysql
5556
- libedit-dev
5657
- libjemalloc-dev
5758
- libjudy-dev
59+
- libkrb5-dev
5860
- liblz4-dev
5961
- libncurses5-dev
6062
- libnuma-dev
@@ -63,7 +65,6 @@ addons:
6365
- libreadline-gplv2-dev
6466
- libsnappy-dev
6567
- libssl-dev
66-
- libstemmer-dev
6768
- libxml2-dev
6869
- lsb-release
6970
- perl
@@ -136,7 +137,6 @@ jobs:
136137
- dh-exec
137138
- dh-systemd
138139
- fakeroot
139-
- libdistro-info-perl
140140
- libsystemd-dev
141141
- libzstd-dev
142142
- po-debconf

client/mysqlslap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,9 +1177,6 @@ get_options(int *argc,char ***argv)
11771177
if (debug_check_flag)
11781178
my_end_arg= MY_CHECK_ERROR;
11791179

1180-
if (!user)
1181-
user= (char *)"root";
1182-
11831180
/*
11841181
If something is created and --no-drop is not specified, we drop the
11851182
schema.

debian/additions/debian-start

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
#!/bin/bash
22
#
3-
# This script is executed by "/etc/init.d/mariadb" on every (re)start.
3+
# This script is executed by both SysV init /etc/init.d/mariadb and
4+
# systemd mariadb.service on every (re)start.
45
#
56
# Changes to this file will be preserved when updating the Debian package.
67
#
7-
# NOTE: This file is read only by the traditional SysV init script, not systemd.
8-
#
98

109
source /usr/share/mysql/debian-start.inc.sh
1110

debian/additions/mariadb.conf.d/50-client.cnf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
[client]
77
# Example of client certificate usage
8-
# ssl-cert = /etc/mysql/client-cert.pem
9-
# ssl-key = /etc/mysql/client-key.pem
8+
#ssl-cert = /etc/mysql/client-cert.pem
9+
#ssl-key = /etc/mysql/client-key.pem
1010
#
1111
# Allow only TLS encrypted connections
12-
# ssl-verify-server-cert = on
12+
#ssl-verify-server-cert = on
1313

1414
# This group is *never* read by mysql client library, though this
1515
# /etc/mysql/mariadb.cnf.d/client.cnf file is not read by Oracle MySQL

debian/additions/mariadb.conf.d/50-server.cnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ expire_logs_days = 10
8282
#ssl-ca = /etc/mysql/cacert.pem
8383
#ssl-cert = /etc/mysql/server-cert.pem
8484
#ssl-key = /etc/mysql/server-key.pem
85+
#require-secure-transport = on
8586

8687
#
8788
# * Character sets

debian/additions/mariadb.conf.d/60-galera.cnf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
[galera]
88
# Mandatory settings
9-
#wsrep_on = ON
10-
#wsrep_provider =
11-
#wsrep_cluster_address =
12-
#binlog_format = row
13-
#default_storage_engine = InnoDB
9+
#wsrep_on = ON
10+
#wsrep_cluster_name = "MariaDB Galera Cluster"
11+
#wsrep_cluster_address = gcomm://
12+
#binlog_format = row
13+
#default_storage_engine = InnoDB
1414
#innodb_autoinc_lock_mode = 2
1515

1616
# Allow server to accept connections on all interfaces.

debian/control

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ Maintainer: MariaDB Developers <maria-developers@lists.launchpad.net>
55
Build-Depends: bison,
66
chrpath,
77
cmake,
8+
cracklib-runtime,
89
debhelper (>= 9),
910
dh-apparmor,
1011
dh-exec,
1112
dh-systemd,
1213
flex [i386 amd64],
1314
gdb,
1415
libaio-dev [linux-any],
16+
libarchive-dev,
1517
libboost-atomic-dev [i386 amd64],
1618
libboost-chrono-dev [i386 amd64],
1719
libboost-date-time-dev [i386 amd64],
@@ -23,38 +25,41 @@ Build-Depends: bison,
2325
libcrack2-dev (>= 2.9.0),
2426
libcurl4-openssl-dev | libcurl4-dev,
2527
libedit-dev,
28+
libedit-dev:native,
2629
libjemalloc-dev [linux-any],
2730
libjudy-dev,
2831
libkrb5-dev,
2932
liblz4-dev,
3033
libncurses5-dev (>= 5.0-6~),
31-
libnuma-dev [!armhf],
34+
libncurses5-dev:native (>= 5.0-6~),
35+
libnuma-dev [linux-any],
3236
libpam0g-dev,
3337
libpcre2-dev,
3438
libreadline-gplv2-dev [i386 amd64],
3539
libsnappy-dev,
36-
libssl-dev | libssl1.0-dev,
40+
libssl-dev,
41+
libssl-dev:native,
3742
libsystemd-dev [linux-any],
3843
libxml2-dev,
3944
libzstd-dev,
4045
lsb-release,
41-
perl,
46+
perl:any,
4247
po-debconf,
4348
psmisc,
4449
unixodbc-dev,
4550
uuid-dev,
4651
zlib1g-dev (>= 1:1.1.3-5~)
4752
Rules-Requires-Root: no
48-
Standards-Version: 3.8.2
53+
Standards-Version: 4.5.0
4954
Homepage: https://mariadb.org/
5055
Vcs-Browser: https://github.com/MariaDB/server/
5156
Vcs-Git: https://github.com/MariaDB/server.git
5257

5358
Package: libmariadb-dev
5459
Architecture: any
55-
Multi-Arch: same
5660
Section: libdevel
5761
Depends: libmariadb3 (= ${binary:Version}),
62+
libssl-dev,
5863
zlib1g-dev,
5964
${misc:Depends},
6065
${shlibs:Depends}
@@ -188,12 +193,12 @@ Description: Virtual package to satisfy external libmysqlclient18 depends
188193

189194
Package: libmariadbd19
190195
Architecture: any
191-
Multi-Arch: same
192196
Section: libs
193197
Depends: ${misc:Depends},
194198
${shlibs:Depends}
195199
Breaks: libmariadbd-dev (<< ${source:Version})
196200
Replaces: libmariadbd-dev (<< ${source:Version})
201+
Multi-Arch: same
197202
Description: MariaDB embedded database, shared library
198203
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
199204
server. SQL (Structured Query Language) is the most popular database query
@@ -204,7 +209,6 @@ Description: MariaDB embedded database, shared library
204209

205210
Package: libmariadbd-dev
206211
Architecture: any
207-
Multi-Arch: same
208212
Section: libdevel
209213
Provides: libmysqld-dev
210214
Pre-Depends: ${misc:Pre-Depends}
@@ -241,6 +245,7 @@ Package: mariadb-common
241245
Architecture: all
242246
Depends: mysql-common (>= 5.6.25),
243247
${misc:Depends}
248+
Multi-Arch: foreign
244249
Description: MariaDB common configuration files
245250
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
246251
server. SQL (Structured Query Language) is the most popular database query
@@ -679,6 +684,7 @@ Description: GSSAPI authentication plugin for MariaDB server
679684

680685
Package: mariadb-plugin-gssapi-client
681686
Architecture: any
687+
Multi-Arch: same
682688
Depends: libgssapi-krb5-2,
683689
mariadb-client-10.6 (= ${binary:Version}),
684690
${misc:Depends},

debian/mariadb-common.postinst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ case "$1" in
2323
echo " ln -sf mariadb.cnf /etc/mysql/my.cnf"
2424
fi
2525
fi
26+
27+
# Note that MySQL in Debian runs the configure-symlinks from the
28+
# mysql-server-x.x.postinst and postrm files, while the MySQL.com (and
29+
# Percona.com) packaging triggers update-alternatives directly form the
30+
# mysql-common (and percona-x-common) package using priority 200.
31+
#
32+
# Thus, we need to ensure here that mariadb.cnf indeed became the primary
33+
# alternative and override with priority 500 if needed.
34+
if ! update-alternatives --query my.cnf | grep --quiet "Value: /etc/mysql/mariadb.cnf"
35+
then
36+
update-alternatives --install /etc/mysql/my.cnf my.cnf "/etc/mysql/mariadb.cnf" 500 || true
37+
fi
2638
;;
2739
esac
2840

0 commit comments

Comments
 (0)