mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Manual merge from mysql-trunk-merge.
Conflicts: - include/my_no_pthread.h - mysql-test/r/sp-ucs2.result - sql/log.cc - sql/sql_acl.cc - sql/sql_yacc.yy
This commit is contained in:
@ -1301,7 +1301,6 @@ void clean_up(bool print_message)
|
||||
lex_free(); /* Free some memory */
|
||||
item_create_cleanup();
|
||||
set_var_free();
|
||||
free_charsets();
|
||||
if (!opt_noacl)
|
||||
{
|
||||
#ifdef HAVE_DLOPEN
|
||||
@ -3991,7 +3990,7 @@ a file name for --log-bin-index option", opt_binlog_index_name);
|
||||
my_free(opt_bin_logname, MYF(MY_ALLOW_ZERO_PTR));
|
||||
opt_bin_logname=my_strdup(buf, MYF(0));
|
||||
}
|
||||
if (mysql_bin_log.open_index_file(opt_binlog_index_name, ln))
|
||||
if (mysql_bin_log.open_index_file(opt_binlog_index_name, ln, TRUE))
|
||||
{
|
||||
unireg_abort(1);
|
||||
}
|
||||
@ -4155,7 +4154,7 @@ a file name for --log-bin-index option", opt_binlog_index_name);
|
||||
}
|
||||
|
||||
if (opt_bin_log && mysql_bin_log.open(opt_bin_logname, LOG_BIN, 0,
|
||||
WRITE_CACHE, 0, max_binlog_size, 0))
|
||||
WRITE_CACHE, 0, max_binlog_size, 0, TRUE))
|
||||
unireg_abort(1);
|
||||
|
||||
#ifdef HAVE_REPLICATION
|
||||
@ -5987,7 +5986,8 @@ Disable with --skip-super-large-pages.",
|
||||
#endif
|
||||
{"init-rpl-role", OPT_INIT_RPL_ROLE, "Set the replication role.", 0, 0, 0,
|
||||
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||
{"init-slave", OPT_INIT_SLAVE, "Command(s) that are executed when a slave connects to this master",
|
||||
{"init-slave", OPT_INIT_SLAVE, "Command(s) that are executed by a slave server \
|
||||
each time the SQL thread starts.",
|
||||
(uchar**) &opt_init_slave, (uchar**) &opt_init_slave, 0, GET_STR_ALLOC,
|
||||
REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||
{"language", 'L',
|
||||
|
Reference in New Issue
Block a user