Skip to content

Commit cae5a03

Browse files
committed
Merge 10.9 into 10.10
2 parents 66f7f79 + 820ebce commit cae5a03

File tree

205 files changed

+3269
-2329
lines changed

Some content is hidden

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

205 files changed

+3269
-2329
lines changed

.gitlab-ci.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ variables:
7171
echo "$package"
7272
rpm -qlpv "$package" | awk '{print $1 " " $3 "/" $4 " ." $9 " " $10 " " $11}' | sort -k 3
7373
echo "------------------------------------------------"
74-
done >> ../rpmlist-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG.log
74+
done >> "../rpmlist-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG.log"
7575
# CPackRPM lists contents in build log, so no need to show the output of this,
7676
# just store it as a build artifact that can be downloaded and diffed against
7777
# other builds to detect which files where added/removed/moved
@@ -182,7 +182,7 @@ fedora-sanitizer:
182182
GIT_SUBMODULE_STRATEGY: normal
183183
script:
184184
- yum install -y yum-utils rpm-build openssl-devel clang
185-
- yum install -y /usr/lib64/libasan.so.6.0.0 /usr/lib64/libtsan.so.0.0.0 /usr/lib64/libubsan.so.1.0.0
185+
- yum install -y libasan libtsan libubsan
186186
# This repository does not have any .spec files, so install dependencies based on Fedora spec file
187187
- yum-builddep -y mariadb-server
188188
- mkdir builddir; cd builddir
@@ -305,6 +305,8 @@ mysql-test-run:
305305
stage: test
306306
dependencies:
307307
- fedora
308+
needs:
309+
- fedora
308310
<<: *mysql-test-run-def
309311
artifacts:
310312
when: always # Also show results when tests fail
@@ -326,6 +328,8 @@ mysql-test-run-asan:
326328
RESTART_POLICY: "--force-restart"
327329
dependencies:
328330
- "fedora-sanitizer: [-DWITH_ASAN=YES]"
331+
needs:
332+
- "fedora-sanitizer: [-DWITH_ASAN=YES]"
329333
<<: *mysql-test-run-def
330334
artifacts:
331335
when: always # Also show results when tests fail
@@ -339,6 +343,8 @@ mysql-test-run-tsan:
339343
RESTART_POLICY: "--force-restart"
340344
dependencies:
341345
- "fedora-sanitizer: [-DWITH_TSAN=YES]"
346+
needs:
347+
- "fedora-sanitizer: [-DWITH_TSAN=YES]"
342348
<<: *mysql-test-run-def
343349
allow_failure: true
344350
artifacts:
@@ -353,6 +359,8 @@ mysql-test-run-ubsan:
353359
RESTART_POLICY: "--force-restart"
354360
dependencies:
355361
- "fedora-sanitizer: [-DWITH_UBSAN=YES]"
362+
needs:
363+
- "fedora-sanitizer: [-DWITH_UBSAN=YES]"
356364
<<: *mysql-test-run-def
357365
allow_failure: true
358366
artifacts:
@@ -367,6 +375,8 @@ mysql-test-run-msan:
367375
RESTART_POLICY: "--force-restart"
368376
dependencies:
369377
- "fedora-sanitizer: [-DWITH_MSAN=YES]"
378+
needs:
379+
- "fedora-sanitizer: [-DWITH_MSAN=YES]"
370380
<<: *mysql-test-run-def
371381
allow_failure: true
372382
artifacts:
@@ -379,6 +389,8 @@ rpmlint:
379389
stage: test
380390
dependencies:
381391
- fedora
392+
needs:
393+
- fedora
382394
script:
383395
- yum install -y rpmlint
384396
- rm -f rpm/*debuginfo* # Not relevant in this test
@@ -396,6 +408,8 @@ fedora install:
396408
stage: test
397409
dependencies:
398410
- fedora
411+
needs:
412+
- fedora
399413
script:
400414
- rm -f rpm/*debuginfo* # Not relevant in this test
401415
# Nothing provides galera-4 on Fedora, so this step fails if built with wsrep
@@ -429,6 +443,8 @@ fedora upgrade:
429443
stage: test
430444
dependencies:
431445
- fedora
446+
needs:
447+
- fedora
432448
script:
433449
- dnf install -y mariadb-server
434450
# Fedora does not support running services in Docker (like Debian packages do) so start it manually

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
[submodule "libmariadb"]
22
path = libmariadb
33
url = https://github.com/MariaDB/mariadb-connector-c.git
4+
ignore = all
45
[submodule "storage/rocksdb/rocksdb"]
56
path = storage/rocksdb/rocksdb
67
url = https://github.com/facebook/rocksdb.git
8+
ignore = all
79
[submodule "wsrep-lib"]
810
path = wsrep-lib
911
url = https://github.com/codership/wsrep-lib.git
1012
branch = master
13+
ignore = all
1114
[submodule "extra/wolfssl/wolfssl"]
1215
path = extra/wolfssl/wolfssl
1316
url = https://github.com/wolfSSL/wolfssl.git
17+
ignore = all
1418
[submodule "storage/maria/libmarias3"]
1519
path = storage/maria/libmarias3
1620
url = https://github.com/mariadb-corporation/libmarias3.git
21+
ignore = all
1722
[submodule "storage/columnstore/columnstore"]
1823
path = storage/columnstore/columnstore
1924
url = https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
25+
ignore = all

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ IF (WITH_MSAN)
236236
MY_CHECK_AND_SET_COMPILER_FLAG("-fsanitize=memory -fsanitize-memory-track-origins -U_FORTIFY_SOURCE" DEBUG RELWITHDEBINFO)
237237
ENDIF()
238238

239-
OPTION(WITH_GPROF "Enable profilingg with gprof" OFF)
239+
OPTION(WITH_GPROF "Enable profiling with gprof" OFF)
240240
IF (WITH_GPROF)
241241
MY_CHECK_AND_SET_COMPILER_FLAG("-pg -g -no-pie -fPIC")
242242
ENDIF()

cmake/install_macros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug" CACHE INTERNAL "Directory of debug
266266
FUNCTION(INSTALL_MYSQL_TEST from to)
267267
IF(INSTALL_MYSQLTESTDIR)
268268
IF(NOT WITH_WSREP)
269-
SET(EXCL_GALERA "(suite/(galera|wsrep|sys_vars/[rt]/(sysvars_)?wsrep).*|include/((w.*)?wsrep.*|.*galera.*)\\.inc|std_data/(galera|wsrep).*)")
269+
SET(EXCL_GALERA "(suite/(galera|wsrep|sys_vars/[rt]/(sysvars_)?wsrep).*|std_data/(galera|wsrep).*)")
270270
ELSE()
271271
SET(EXCL_GALERA "^DOES_NOT_EXIST$")
272272
ENDIF()

debian/additions/innotop/innotop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4933,7 +4933,7 @@ sub noecho_password {
49334933
};
49344934

49354935
if ( $EVAL_ERROR ) {
4936-
die "Cannot read respose; is Term::ReadKey installed? $EVAL_ERROR";
4936+
die "Cannot read response; is Term::ReadKey installed? $EVAL_ERROR";
49374937
}
49384938
return $response;
49394939
}

debian/additions/mariadb-report

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ sub set_myisam_vals
726726
{
727727
print "set_myisam_vals\n" if $op{debug};
728728

729-
# should be moved elsewere
729+
# should be moved elsewhere
730730
$questions = $stats{'Questions'};
731731

732732
$key_read_ratio = sprintf "%.2f",
@@ -1376,7 +1376,7 @@ format QCACHE =
13761376
__ Query Cache _________________________________________________________
13771377
Memory usage @>>>>>> of @>>>>>> %Usage: @>>>>>
13781378
make_short($qc_mem_used, 1), make_short($vars{'query_cache_size'}, 1), perc($qc_mem_used, $vars{'query_cache_size'})
1379-
Block Fragmnt @>>>>>%
1379+
Block Fragment @>>>>>%
13801380
perc($stats{'Qcache_free_blocks'}, $stats{'Qcache_total_blocks'})
13811381
Hits @>>>>>> @>>>>>/s
13821382
make_short($stats{'Qcache_hits'}), t($stats{'Qcache_hits'})

debian/mariadb-server.mariadb.init

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ else
3434
exit -1
3535
fi
3636

37+
if [ ! -x /usr/bin/mariadbd-safe ]
38+
then
39+
log_failure_msg "/usr/bin/mariadbd-safe not found or executable! This SysV init script depends on it."
40+
exit -1
41+
fi
42+
3743
# priority can be overridden and "-s" adds output to stderr
3844
ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mariadb -i"
3945

@@ -127,7 +133,7 @@ case "${1:-''}" in
127133
test -e /run/mysqld || install -m 755 -o mysql -g root -d /run/mysqld
128134

129135
# Start MariaDB!
130-
/usr/bin/mysqld_safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER &
136+
/usr/bin/mariadbd-safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER &
131137

132138
for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do
133139
sleep 1

debian/mariadb-server.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ EOF
152152

153153
# This is important to avoid dataloss when there is a removed
154154
# mysql-server version from Woody lying around which used the same
155-
# data directory and then somewhen gets purged by the admin.
155+
# data directory and then somehow gets purged by the admin.
156156
db_set mariadb-server/postrm_remove_database false || true
157157

158158
# Clean up old flags before setting new one

debian/not-installed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lib/systemd/system/[email protected] # Installed by rules file
1313
lib/systemd/system/[email protected] # Installed by rules file
1414
usr/bin/mariadb-embedded # Shipping the embedded server in distro packaging does not make sense
1515
usr/bin/mysql_config # Debian packaging has mysql_config as symlink to mariadb_config
16-
usr/bin/mysql_embedded # Symlink to mariadb-embeded which is intentionally not included
16+
usr/bin/mysql_embedded # Symlink to mariadb-embedded which is intentionally not included
1717
usr/bin/sst_dump # Use the one from rocksdb-tools package
1818
usr/lib/aarch64-linux-gnu/libdbbc.a # ColumnStore header file
1919
usr/lib/aarch64-linux-gnu/libidbboot.a # ColumnStore header file
@@ -41,7 +41,7 @@ usr/share/groonga-normalizer-mysql/lgpl-2.0.txt
4141
usr/share/groonga/COPYING
4242
usr/share/groonga/README.md
4343
usr/share/man/man1/mariadb-embedded.1 # Shipping the embedded server in distro packaging does not make sense
44-
usr/share/man/man1/mysql_embedded.1 # Symlink to mariadb-embeded.1 which is intentionally not included
44+
usr/share/man/man1/mysql_embedded.1 # Symlink to mariadb-embedded.1 which is intentionally not included
4545
usr/share/man/man1/my_safe_process.1
4646
usr/share/man/man1/mysql-stress-test.pl.1
4747
usr/share/man/man1/mysql.server.1

debian/salsa-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ build mariadbclient consumer Python-MySQLdb:
360360
image: debian:${RELEASE}
361361
script:
362362
- *test-prepare-container
363-
# Run each step separately to avoitda 800+ lines chunk that lacks the
363+
# Run each step separately to avoid an 800+ line chunk that lacks the
364364
# commands themselves printed and Gitlab-CI cutting off the output
365365
- apt-get install -y pkg-config ./libmariadb-dev*.deb ./libmariadb3_*.deb ./mariadb-common*.deb
366366
- pkg-config --cflags --libs mysqlclient # See what MySQLdb builds with

0 commit comments

Comments
 (0)