maria:5.5-galera

Last commit made on 2019-02-01
Get this branch:
git clone -b 5.5-galera https://git.launchpad.net/maria

Branch merges

Branch information

Name:
5.5-galera
Repository:
lp:maria

Recent commits

0b9cfaa... by Daniel Bartholomew <email address hidden> on 2019-02-01

bump the VERSION

074d51e... by Jan Lindström on 2019-01-31

Fix test result difference after increase MYSQL_MAX_VARIABLE_VALUE_LEN

9b06a93... by Teemu Ollakka <email address hidden> on 2018-11-27

Bumped wsrep patch version to 25.25

5e0117f... by Teemu Ollakka <email address hidden> on 2018-11-19

codership/mysql-wsrep#348 Increase MYSQL_MAX_VARIABLE_VALUE_LEN

Increased MYSQL_MAX_VARIABLE_VALUE_LEN to 4096 in order to allow
longer wsrep_provider_option strings.

Recorded main.show_check.

c28d7ac... by Jan Lindström on 2019-01-31

Merge tag 'mariadb-5.5.63' into 5.5-galera

2175bfc... by Sergei Golubchik on 2019-01-25

Crude "auto-load-data-local-infile" mode

Disable LOAD DATA LOCAL INFILE suport by default and
auto-enable it for the duration of one query, if the query
string starts with the word "load". In all other cases the application
should enable LOAD DATA LOCAL INFILE support explicitly.

21f9037... by Vicențiu Ciorbaru on 2019-01-23

MDEV-18360 Prevent set_max_open_files from allocating too many files

If the rlimit.rlim_cur value returned by getrlimit is not the
RLIM_INFINITY magic constant, but a *very* large number, we can allocate
too many open files. Restrict set_max_open_files to only return at most
max_file_limit, as passed via its parameter.

ad220b9... by Eugene on 2018-07-02

MDEV-16658 Memory leak in mysqltest on connect failure

Close connection handler on connection failure. This fixes 14 failing tests in
main suite under clang+ASAN build.

ASAN report for main.connect looks like this:
=================================================================
==25495==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 146280 byte(s) in 115 object(s) allocated from:
    #0 0x4fba47 in calloc /fun/cpp_projects/llvm_toolchain/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:138
    #1 0x5a7a02 in mysql_init /work/mariadb/libmariadb/libmariadb/mariadb_lib.c:977:26
    #2 0x570a7a in do_connect(st_command*) /work/mariadb/client/mysqltest.cc:6096:26
    #3 0x584c39 in main /work/mariadb/client/mysqltest.cc:9321:9
    #4 0x7fd15514db96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310

Indirect leak of 7065600 byte(s) in 115 object(s) allocated from:
    #0 0x4fb80f in __interceptor_malloc /fun/cpp_projects/llvm_toolchain/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:129
    #1 0x637a83 in my_context_init /work/mariadb/libmariadb/libmariadb/ma_context.c:367:23
    #2 0x59fd16 in mysql_optionsv /work/mariadb/libmariadb/libmariadb/mariadb_lib.c:2738:9
    #3 0x5bc1d4 in mysql_options /work/mariadb/libmariadb/libmariadb/mariadb_lib.c:3242:10
    #4 0x570b94 in do_connect(st_command*) /work/mariadb/client/mysqltest.cc:6103:7
    #5 0x584c39 in main /work/mariadb/client/mysqltest.cc:9321:9
    #6 0x7fd15514db96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310

Indirect leak of 940240 byte(s) in 115 object(s) allocated from:
    #0 0x4fb80f in __interceptor_malloc /fun/cpp_projects/llvm_toolchain/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:129
    #1 0x64386e in ma_init_dynamic_array /work/mariadb/libmariadb/libmariadb/ma_array.c:49:31
    #2 0x649ead in _hash_init /work/mariadb/libmariadb/libmariadb/ma_hash.c:52:7
    #3 0x5a3080 in mysql_optionsv /work/mariadb/libmariadb/libmariadb/mariadb_lib.c:2938:13
    #4 0x5bc20c in mysql_options4 /work/mariadb/libmariadb/libmariadb/mariadb_lib.c:3248:10
    #5 0x56f63b in connect_n_handle_errors(st_command*, st_mysql*, char const*, char const*, char const*, char const*, int, char const*) /work/mariadb/client/mysqltest.cc:5874:3
    #6 0x57146b in do_connect(st_command*) /work/mariadb/client/mysqltest.cc:6193:7
    #7 0x584c39 in main /work/mariadb/client/mysqltest.cc:9321:9
    #8 0x7fd15514db96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
...

Closes #809

9495592... by Sergei Golubchik on 2019-01-23

MDEV-18059 `support-files/mysql.server.sh stop` must run as root

don't run `su - mysql` is $USER is already mysql

a8da66f... by Sergei Golubchik on 2019-01-21

Bug #28499924: INCORRECT BEHAVIOR WITH UNION IN SUBQUERY

test case