Skip to content

Commit f8bc587

Browse files
committed
Merge branch '10.1' of https://github.com/MariaDB/server into ob-10.1
2 parents 77dd5ec + 9c9747f commit f8bc587

File tree

4,987 files changed

+703247
-242386
lines changed

Some content is hidden

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

4,987 files changed

+703247
-242386
lines changed

.gitattributes

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
*.test text
1212
*.java text
1313

14-
# Declare files that will always have LF line endings on checkout.
15-
*.result text eol=lf
14+
# These files should be checked out as is
15+
*.result -text -whitespace
16+
*.dat -text -whitespace
1617

17-
# Denote the files that should not be modified.
18-
storage/connect/mysql-test/connect/std_data/*.txt binary
19-
storage/connect/mysql-test/connect/std_data/*.dat binary
18+
storage/connect/mysql-test/connect/std_data/*.txt -text
19+
pcre/testdata/greppatN4 -text
2020

2121
# Denote all files that are truly binary and should not be modified.
2222
*.png binary

.gitignore

Lines changed: 226 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,249 @@
1-
# Edited by Olivier Bertrand
21
*-t
32
*.ctest
43
*.reject
54
*.spec
6-
*~
75
*.bak
8-
*.log
96
.*.swp
107
*.ninja
118
.ninja_*
129
.gdb_history
10+
errmsg.sys
11+
typescript
12+
CMakeCache.txt
13+
CMakeFiles/
14+
MakeFile
15+
install_manifest.txt
16+
CPackConfig.cmake
17+
CPackSourceConfig.cmake
18+
CTestTestfile.cmake
19+
Docs/INFO_BIN
20+
Docs/INFO_SRC
21+
Makefile
22+
TAGS
23+
Testing/
24+
tmp/
25+
VERSION.dep
26+
configure
27+
client/async_example
28+
client/mysql
29+
client/mysql_plugin
30+
client/mysql_upgrade
31+
client/mysqladmin
32+
client/mysqlbinlog
33+
client/mysqlcheck
34+
client/mysqldump
35+
client/mysqlimport
36+
client/mysqlshow
37+
client/mysqlslap
38+
client/mysqltest
39+
cmake_install.cmake
40+
dbug/*.r
41+
dbug/factorial
42+
dbug/tests
43+
dbug/user.ps
44+
dbug/user.t
45+
extra/comp_err
46+
extra/innochecksum
47+
extra/jemalloc/build/
48+
extra/jemalloc/tmp/
49+
extra/my_print_defaults
50+
extra/mysql_waitpid
51+
extra/perror
52+
extra/replace
53+
extra/resolve_stack_dump
54+
extra/resolveip
55+
import_executables.cmake
56+
include/*.h.tmp
57+
include/config.h
58+
include/my_config.h
59+
include/mysql_version.h
60+
include/mysqld_ername.h
61+
include/mysqld_error.h
62+
include/sql_state.h
63+
include/probes_mysql.d
64+
include/probes_mysql_dtrace.h
65+
include/probes_mysql_nodtrace.h
66+
info_macros.cmake
67+
libmysql*/libmysql*_exports_file.cc
68+
libmysql*/merge_archives_mysql*.cmake
69+
libmysql*/mysql*_depends.c
70+
libmysql/libmysql_versions.ld
71+
libmysqld/examples/mysql_client_test_embedded
72+
libmysqld/examples/mysql_embedded
73+
libmysqld/examples/mysqltest_embedded
74+
make_dist.cmake
75+
mariadb-*.*.*.tar.gz
76+
mariadb-*.*.*/
77+
mysql-test/lib/My/SafeProcess/my_safe_process
78+
mysql-test/mtr
79+
mysql-test/mysql-test-run
80+
mysql-test/var
81+
mysys/thr_lock
82+
mysys/thr_timer
83+
packaging/rpm-oel/mysql.spec
84+
packaging/rpm-uln/mysql.10.0.11.spec
85+
packaging/solaris/postinstall-solaris
86+
pcre/config.h
87+
pcre/pcre*test.sh
88+
pcre/pcre.h
89+
pcre/pcre_chartables.c
90+
pcre/pcregrep
91+
pcre/pcretest
92+
pcre/test*grep
93+
scripts/comp_sql
94+
scripts/make_binary_distribution
95+
scripts/msql2mysql
96+
scripts/mysql_config
97+
scripts/mysql_config.pl
98+
scripts/mysql_convert_table_format
99+
scripts/mysql_find_rows
100+
scripts/mysql_fix_extensions
101+
scripts/mysql_fix_privilege_tables.sql
102+
scripts/mysql_fix_privilege_tables_sql.c
103+
scripts/mysql_install_db
104+
scripts/mysql_secure_installation
105+
scripts/mysql_setpermission
106+
scripts/mysql_zap
107+
scripts/mysqlaccess
108+
scripts/mysqlbug
109+
scripts/mysqld_multi
110+
scripts/mysqld_safe
111+
scripts/mysqldumpslow
112+
scripts/mysqlhotcopy
113+
scripts/mytop
114+
scripts/wsrep_sst_common
115+
scripts/wsrep_sst_mysqldump
116+
scripts/wsrep_sst_rsync
117+
scripts/wsrep_sst_xtrabackup
118+
scripts/wsrep_sst_xtrabackup-v2
119+
scripts/maria_add_gis_sp.sql
120+
scripts/maria_add_gis_sp_bootstrap.sql
121+
sql-bench/bench-count-distinct
122+
sql-bench/bench-init.pl
123+
sql-bench/compare-results
124+
sql-bench/copy-db
125+
sql-bench/crash-me
126+
sql-bench/graph-compare-results
127+
sql-bench/innotest1
128+
sql-bench/innotest1a
129+
sql-bench/innotest1b
130+
sql-bench/innotest2
131+
sql-bench/innotest2a
132+
sql-bench/innotest2b
133+
sql-bench/run-all-tests
134+
sql-bench/server-cfg
135+
sql-bench/test-ATIS
136+
sql-bench/test-alter-table
137+
sql-bench/test-big-tables
138+
sql-bench/test-connect
139+
sql-bench/test-create
140+
sql-bench/test-insert
141+
sql-bench/test-select
142+
sql-bench/test-table-elimination
143+
sql-bench/test-transactions
144+
sql-bench/test-wisconsin
145+
sql/lex_token.h
146+
sql/gen_lex_token
147+
sql/gen_lex_hash
148+
sql/lex_hash.h
149+
sql/mysql_tzinfo_to_sql
150+
sql/mysqld
151+
sql/sql_builtin.cc
152+
sql/sql_yacc.cc
153+
sql/sql_yacc.h
154+
storage/heap/hp_test1
155+
storage/heap/hp_test2
156+
storage/maria/aria_chk
157+
storage/maria/aria_dump_log
158+
storage/maria/aria_ftdump
159+
storage/maria/aria_pack
160+
storage/maria/aria_read_log
161+
storage/maria/ma_rt_test
162+
storage/maria/ma_sp_test
163+
storage/maria/ma_test1
164+
storage/maria/ma_test2
165+
storage/maria/ma_test3
166+
storage/myisam/mi_test1
167+
storage/myisam/mi_test2
168+
storage/myisam/mi_test3
169+
storage/myisam/myisam_ftdump
170+
storage/myisam/myisamchk
171+
storage/myisam/myisamlog
172+
storage/myisam/myisampack
173+
storage/myisam/rt_test
174+
storage/myisam/sp_test
175+
storage/tokudb/PerconaFT/buildheader/db.h
176+
storage/tokudb/PerconaFT/buildheader/make_tdb
177+
storage/tokudb/PerconaFT/buildheader/runcat.sh
178+
storage/tokudb/PerconaFT/ft/log_code.cc
179+
storage/tokudb/PerconaFT/ft/log_header.h
180+
storage/tokudb/PerconaFT/ft/log_print.cc
181+
storage/tokudb/PerconaFT/ft/logformat
182+
storage/tokudb/PerconaFT/ft/ftverify
183+
storage/tokudb/PerconaFT/ft/tdb-recover
184+
storage/tokudb/PerconaFT/ft/tokuftdump
185+
storage/tokudb/PerconaFT/portability/merge_archives_tokuportability_static.cmake
186+
storage/tokudb/PerconaFT/portability/toku_config.h
187+
storage/tokudb/PerconaFT/portability/tokuportability_static_depends.cc
188+
storage/tokudb/PerconaFT/snappy/
189+
storage/tokudb/PerconaFT/src/merge_archives_tokufractaltree_static.cmake
190+
storage/tokudb/PerconaFT/src/tokufractaltree_static_depends.cc
191+
storage/tokudb/PerconaFT/toku_include/toku_config.h
192+
storage/tokudb/PerconaFT/tools/ba_replay
193+
storage/tokudb/PerconaFT/tools/ftverify
194+
storage/tokudb/PerconaFT/tools/tdb-recover
195+
storage/tokudb/PerconaFT/tools/tokudb_dump
196+
storage/tokudb/PerconaFT/tools/tokudb_gen
197+
storage/tokudb/PerconaFT/tools/tokudb_load
198+
storage/tokudb/PerconaFT/tools/tokuftdump
199+
storage/tokudb/PerconaFT/tools/tokuft_logprint
200+
storage/tokudb/PerconaFT/xz/
201+
support-files/MySQL-shared-compat.spec
202+
support-files/binary-configure
203+
support-files/config.huge.ini
204+
support-files/config.medium.ini
205+
support-files/config.small.ini
206+
support-files/mariadb.pc
207+
support-files/mariadb@.service
208+
support-files/my-huge.cnf
209+
support-files/my-innodb-heavy-4G.cnf
210+
support-files/my-large.cnf
211+
support-files/my-medium.cnf
212+
support-files/my-small.cnf
213+
support-files/mysql-log-rotate
214+
support-files/mysql.10.0.11.spec
215+
support-files/mysql.server
216+
support-files/mysql.spec
217+
support-files/mysqld_multi.server
218+
support-files/wsrep.cnf
219+
support-files/wsrep_notify
220+
tags
221+
tests/async_queries
222+
tests/bug25714
223+
tests/mysql_client_test
224+
storage/mroonga/config.sh
225+
storage/mroonga/mrn_version.h
226+
storage/mroonga/data/install.sql
227+
storage/mroonga/vendor/groonga/config.h
228+
storage/mroonga/vendor/groonga/config.sh
229+
storage/mroonga/vendor/groonga/groonga.pc
230+
storage/mroonga/vendor/groonga/src/grnslap
231+
storage/mroonga/vendor/groonga/src/groonga
232+
storage/mroonga/vendor/groonga/src/groonga-benchmark
233+
storage/mroonga/vendor/groonga/src/suggest/groonga-suggest-create-dataset
234+
storage/mroonga/mysql-test/mroonga/storage/r/information_schema_plugins.result
235+
storage/mroonga/mysql-test/mroonga/storage/r/variable_version.result
13236
# C and C++
14237

15238
# Compiled Object files
16239
*.slo
17-
*.lo
18240
*.o
19241
*.ko
20242
*.obj
21243
*.elf
22244
*.exp
23-
*.manifest
24245
*.dep
25246
*.idb
26-
*.res
27247

28248
# Precompiled Headers
29249
*.gch
@@ -50,11 +270,6 @@
50270
*.x86_64
51271
*.hex
52272

53-
# Cmake files
54-
*.stamp
55-
*.stamp.*
56-
*.rule
57-
*.cmake
58273

59274
## Ignore Visual Studio temporary files, build results, and
60275
## files generated by popular Visual Studio add-ons.
@@ -64,7 +279,6 @@
64279
*.user
65280
*.userosscache
66281
*.sln.docstates
67-
*.ncb
68282
*.sln
69283

70284
*.vcproj
@@ -109,8 +323,6 @@ dlldata.c
109323
*_i.h
110324
*.ilk
111325
*.meta
112-
*.obj
113-
*.pch
114326
*.pdb
115327
*.pgc
116328
*.pgd
@@ -251,4 +463,3 @@ UpgradeLog*.htm
251463

252464
# Microsoft Fakes
253465
FakesAssemblies/
254-

BUILD/SETUP.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Usage: $0 [-h|-n] [configure-options]
3131
-h, --help Show this help message.
3232
-n, --just-print Don't actually run any commands; just print them.
3333
-c, --just-configure Stop after running configure.
34+
Combined with --just-print shows configure options.
3435
--extra-configs=xxx Add this to configure options
3536
--extra-flags=xxx Add this C and CXX flags
3637
--extra-cflags=xxx Add this to C flags
@@ -205,7 +206,7 @@ fi
205206

206207
max_no_embedded_configs="$SSL_LIBRARY --with-plugins=max"
207208
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"
209+
max_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-libevent --without-plugin=plugin_file_key_management"
209210
all_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-innodb_plugin --with-libevent"
210211

211212
#
@@ -256,6 +257,10 @@ fi
256257
# (http://samba.org/ccache) is installed, use it.
257258
# We use 'grep' and hope 'grep' will work as expected
258259
# (returns 0 if finds lines)
260+
261+
# As cmake doesn't like CC and CXX with a space, use symlinks from
262+
# /usr/lib64/ccache if they exits.
263+
259264
if test "$USING_GCOV" != "1"
260265
then
261266
# Not using gcov; Safe to use ccache
@@ -264,8 +269,14 @@ fi
264269

265270
if ccache -V > /dev/null 2>&1 && test "$CCACHE_GCOV_VERSION_ENABLED" = "1"
266271
then
267-
echo "$CC" | grep "ccache" > /dev/null || CC="ccache $CC"
268-
echo "$CXX" | grep "ccache" > /dev/null || CXX="ccache $CXX"
272+
if test -x /usr/lib64/ccache/gcc
273+
then
274+
CC=/usr/lib64/ccache/gcc
275+
fi
276+
if test -x /usr/lib64/ccache/g++
277+
then
278+
CXX=/usr/lib64/ccache/g++
279+
fi
269280
fi
270281

271282
# gcov

BUILD/compile-solaris-amd64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
export LDFLAGS='-m64 -lmtmalloc -R/usr/sfw/lib/64'
44
export CFLAGS='-mtune=i386 -D__sun -m64 -mtune=athlon64'
55
export CXXFLAGS='-mtune=i386 -D__sun -m64 -mtune=athlon64'
6-
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DWITH_EXTRA_CHARSETS=complex -DWITH_READLINE=ON -DWITH_SSL=bundled -DWITH_MAX=ON -DWITH_EMBEDDED_SERVER=ON
6+
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DWITH_EXTRA_CHARSETS=complex -DWITH_READLINE=ON -DWITH_SSL=bundled -DWITH_MAX=ON -DWITH_EMBEDDED_SERVER=ON -DWITH_ZLIB=bundled -DPLUGIN_INNOBASE=NO
77
gmake -j6 VERBOSE=1
88

0 commit comments

Comments
 (0)