Skip to content

Commit 6b05880

Browse files
committed
Merge branch '10.2' of github.com:MariaDB/server into bb-10.2-mariarocks-merge
2 parents a2d2866 + 7d49aab commit 6b05880

File tree

2,312 files changed

+188961
-61475
lines changed

Some content is hidden

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

2,312 files changed

+188961
-61475
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ extra/comp_err
4949
extra/innochecksum
5050
extra/jemalloc/build/
5151
extra/jemalloc/tmp/
52+
extra/mariabackup/mariabackup
53+
extra/mariabackup/mbstream
5254
extra/my_print_defaults
5355
extra/mysql_waitpid
5456
extra/mysqld_safe_helper
@@ -124,10 +126,13 @@ scripts/mytop
124126
scripts/wsrep_sst_common
125127
scripts/wsrep_sst_mysqldump
126128
scripts/wsrep_sst_rsync
129+
scripts/wsrep_sst_mariabackup
127130
scripts/wsrep_sst_xtrabackup
128131
scripts/wsrep_sst_xtrabackup-v2
129132
scripts/maria_add_gis_sp.sql
130133
scripts/maria_add_gis_sp_bootstrap.sql
134+
scripts/galera_new_cluster
135+
scripts/galera_recovery
131136
sql-bench/bench-count-distinct
132137
sql-bench/bench-init.pl
133138
sql-bench/compare-results
@@ -219,6 +224,7 @@ support-files/config.medium.ini
219224
support-files/config.small.ini
220225
support-files/mariadb.pc
221226
support-files/mariadb@.service
227+
support-files/mariadb.service
222228
support-files/my-huge.cnf
223229
support-files/my-innodb-heavy-4G.cnf
224230
support-files/my-large.cnf
@@ -232,6 +238,7 @@ support-files/mysqld_multi.server
232238
support-files/wsrep.cnf
233239
support-files/wsrep_notify
234240
support-files/policy/selinux/mysqld-safe.pp
241+
support-files/mariadb.pp
235242
tags
236243
tests/async_queries
237244
tests/bug25714
@@ -248,6 +255,10 @@ storage/mroonga/vendor/groonga/src/groonga-benchmark
248255
storage/mroonga/vendor/groonga/src/suggest/groonga-suggest-create-dataset
249256
storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result
250257
storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result
258+
xxx/*
259+
yyy/*
260+
zzz/*
261+
251262
# C and C++
252263

253264
# Compiled Object files

.travis.compiler.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then
88
CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
99
fi
1010
case ${GCC_VERSION} in
11-
5) CXX=clang++-3.9 ;;
12-
6) CXX=clang++-4.0 ;;
11+
5) CXX=clang++-4.0 ;;
12+
6) CXX=clang++-5.0 ;;
1313
esac
1414
export CXX CC=${CXX/++/}
1515
elif [[ "${CXX}" == 'g++' ]]; then
@@ -39,8 +39,4 @@ else
3939
fi
4040
fi
4141

42-
# main.mysqlhotcopy_myisam consitently failed in travis containers
43-
# https://travis-ci.org/grooverdan/mariadb-server/builds/217661580
44-
echo 'main.mysqlhotcopy_myisam : unstable in containers' >> ${TRAVIS_BUILD_DIR}/mysql-test/unstable-tests
45-
echo 'archive.mysqlhotcopy_archive : unstable in containers' >> ${TRAVIS_BUILD_DIR}/mysql-test/unstable-tests
4642
set +v +x

.travis.yml

Lines changed: 59 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,66 @@ matrix:
4040
include:
4141
- os: linux
4242
compiler: gcc
43+
addons:
44+
apt:
45+
packages: # make sure these match debian/control contents
46+
- bison
47+
- chrpath
48+
- cmake
49+
- debhelper
50+
- dh-apparmor
51+
- dpatch
52+
- gdb
53+
- libaio-dev
54+
- libboost-dev
55+
- libcurl3-dev
56+
- libdbd-mysql
57+
- libjudy-dev
58+
- libncurses5-dev
59+
- libpam0g-dev
60+
- libpcre3-dev
61+
- libreadline-gplv2-dev
62+
- libstemmer-dev
63+
- libssl-dev
64+
- libnuma-dev
65+
- libxml2-dev
66+
- lsb-release
67+
- perl
68+
- po-debconf
69+
- psmisc
70+
- zlib1g-dev
71+
- libcrack2-dev
72+
- cracklib-runtime
73+
- libjemalloc-dev
74+
- libsnappy-dev
75+
- liblzma-dev
76+
- libzmq-dev
77+
- libdistro-info-perl
78+
- uuid-dev
79+
- devscripts
80+
- fakeroot
4381
script:
4482
- ${CC} --version ; ${CXX} --version
45-
# Just for disabling hotcopy tests for now
4683
- source .travis.compiler.sh
4784
# https://github.com/travis-ci/travis-ci/issues/7062 - /run/shm isn't writable or executable
4885
# in trusty containers
4986
- export MTR_MEM=/tmp
5087
- env DEB_BUILD_OPTIONS="parallel=6" debian/autobake-deb.sh;
5188
- ccache --show-stats
89+
# Until OSX becomes a bit more stable: MDEV-12435
90+
allow_failures:
91+
- os: osx
92+
compiler: clang
93+
env: GCC_VERSION=4.8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
94+
- os: osx
95+
compiler: clang
96+
env: GCC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main,archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
97+
- os: osx
98+
compiler: clang
99+
env: GCC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption,rocksdb
100+
- os: osx
101+
compiler: clang
102+
env: GCC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,percona,perfschema,plugins,multi_source,roles
52103

53104
# Matrix include for coverity
54105
# - env:
@@ -85,29 +136,26 @@ addons:
85136
apt:
86137
sources:
87138
- ubuntu-toolchain-r-test
88-
- llvm-toolchain-trusty
89-
- llvm-toolchain-trusty-3.9
90139
- llvm-toolchain-trusty-4.0
91-
packages: # make sure these match debian/control contents
140+
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main'
141+
packages: # make sure these match the build requirements
92142
- gcc-5
93143
- g++-5
94144
- gcc-6
95145
- g++-6
96-
- clang-3.9
97-
- llvm-3.9-dev
98146
- clang-4.0
99147
- llvm-4.0-dev
148+
- clang-5.0
149+
- llvm-5.0-dev
100150
- libasan0
101151
- bison
102152
- chrpath
103153
- cmake
104-
- debhelper
105-
- dh-apparmor
106-
- dpatch
107154
- gdb
108155
- libaio-dev
109156
- libboost-dev
110157
- libcurl3-dev
158+
- libdbd-mysql
111159
- libjudy-dev
112160
- libncurses5-dev
113161
- libpam0g-dev
@@ -119,16 +167,15 @@ addons:
119167
- libxml2-dev
120168
- lsb-release
121169
- perl
122-
- po-debconf
123170
- psmisc
124171
- zlib1g-dev
125172
- libcrack2-dev
173+
- cracklib-runtime
126174
- libjemalloc-dev
127175
- libsnappy-dev
128176
- liblzma-dev
129177
- libzmq-dev
130-
- libdistro-info-perl
131-
- devscripts # implicit for any build on Ubuntu
178+
- uuid-dev
132179

133180
# libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882
134181

BUILD/FINISH.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ fi
3535
# git clean -fdX removes all ignored (build) files
3636
commands="\
3737
git clean -fdX
38+
cd ./libmariadb
39+
git submodule update
40+
cd ../storage/rocksdb/rocksdb
41+
git submodule update
42+
cd ../../..
3843
3944
path=`dirname $0`
4045
. \"$path/autorun.sh\""

BUILD/SETUP.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fi
205205

206206
max_no_embedded_configs="$SSL_LIBRARY --with-plugins=max"
207207
max_no_qc_configs="$SSL_LIBRARY --with-plugins=max --without-query-cache"
208-
max_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-libevent --without-plugin=plugin_file_key_management"
208+
max_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-libevent --without-plugin=plugin_file_key_management --with-plugin-rocksdb=dynamic"
209209
all_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-innodb_plugin --with-libevent"
210210

211211
#
@@ -289,6 +289,11 @@ gcov_compile_flags="-fprofile-arcs -ftest-coverage"
289289
gcov_compile_flags="$gcov_compile_flags -DDISABLE_TAO_ASM"
290290
gcov_compile_flags="$gcov_compile_flags -DMYSQL_SERVER_SUFFIX=-gcov -DHAVE_gcov"
291291

292+
#
293+
# The following plugins doesn't work on 32 bit systems
294+
disable_64_bit_plugins="--without-plugin-tokudb --without-plugin-rocksdb"
295+
296+
292297
# GCC4 needs -fprofile-arcs -ftest-coverage on the linker command line (as well
293298
# as on the compiler command line), and this requires setting LDFLAGS for BDB.
294299

BUILD/compile-amd64-debug-max-no-ndb

Lines changed: 0 additions & 25 deletions
This file was deleted.

BUILD/compile-amd64-gprof-no-ndb

Lines changed: 0 additions & 7 deletions
This file was deleted.

BUILD/compile-pentium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ path=`dirname $0`
2020
. "$path/SETUP.sh"
2121

2222
extra_flags="$pentium_cflags $fast_cflags"
23-
extra_configs="$pentium_configs"
23+
extra_configs="$pentium_configs $disable_64_bit_plugins"
2424
strip=yes
2525

2626
. "$path/FINISH.sh"

BUILD/compile-pentium-debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ path=`dirname $0`
1919
. "$path/SETUP.sh"
2020

2121
extra_flags="$pentium_cflags $debug_cflags"
22-
extra_configs="$pentium_configs $debug_configs"
22+
extra_configs="$pentium_configs $debug_configs $disable_64_bit_plugins"
2323

2424
. "$path/FINISH.sh"

BUILD/compile-pentium-debug-all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ set -- "$@" --with-debug=full
55
. "$path/SETUP.sh"
66

77
extra_flags="$pentium_cflags $debug_cflags"
8-
extra_configs="$pentium_configs $debug_configs $all_configs $error_inject --with-experimental-collations"
8+
extra_configs="$pentium_configs $debug_configs $all_configs $error_inject --with-experimental-collations $disable_64_bit_plugins"
99

1010
. "$path/FINISH.sh"

0 commit comments

Comments
 (0)