Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
MariaDB and MySQL Packaging Team
mariadb-5.5
Commits
81073b03
Commit
81073b03
authored
Aug 07, 2014
by
Otto Kekäläinen
Browse files
Imported Upstream version 5.5.39
parent
16eb3898
Changes
298
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
81073b03
...
...
@@ -26,6 +26,14 @@ IF(POLICY CMP0022)
CMAKE_POLICY
(
SET CMP0022 OLD
)
ENDIF
()
# We use the LOCATION target property (CMP0026)
# and get_target_property() for non-existent targets (CMP0045)
IF
(
CMAKE_VERSION VERSION_EQUAL
"3.0.0"
OR
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
CMAKE_POLICY
(
SET CMP0026 OLD
)
CMAKE_POLICY
(
SET CMP0045 OLD
)
ENDIF
()
MESSAGE
(
STATUS
"Running cmake version
${
CMAKE_VERSION
}
"
)
SET
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
/cmake
)
...
...
@@ -422,7 +430,6 @@ IF(NOT WITHOUT_SERVER)
IF
(
EXISTS
${
CMAKE_SOURCE_DIR
}
/internal/CMakeLists.txt
)
ADD_SUBDIRECTORY
(
internal
)
ENDIF
()
ADD_SUBDIRECTORY
(
packaging/rpm-uln
)
ADD_SUBDIRECTORY
(
packaging/rpm-oel
)
ENDIF
()
...
...
Docs/INFO_SRC
View file @
81073b03
revision-id: sergii@pisem.net-20140
605172551-avr6i9us81bsin83
date: 2014-0
6
-0
5
1
9:25
:5
1
+0200
build-date: 2014-0
6
-0
6
1
8
:0
4:58
+0200
revno: 42
1
4
revision-id: sergii@pisem.net-20140
803113854-ku86z409wqigl8s6
date: 2014-0
8
-0
3
1
3:38
:5
4
+0200
build-date: 2014-0
8
-0
3
1
4
:0
0:45
+0200
revno: 42
6
4
branch-nick: 5.5
MySQL source 5.5.3
8
MySQL source 5.5.3
9
VERSION
View file @
81073b03
MYSQL_VERSION_MAJOR=5
MYSQL_VERSION_MINOR=5
MYSQL_VERSION_PATCH=3
8
MYSQL_VERSION_PATCH=3
9
MYSQL_VERSION_EXTRA=
client/mysqladmin.cc
View file @
81073b03
/*
Copyright (c) 2000, 201
2
, Oracle and/or its affiliates.
Copyright (c) 2010, 201
2
, Monty Program Ab.
Copyright (c) 2000, 201
4
, Oracle and/or its affiliates.
Copyright (c) 2010, 201
4
, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -70,6 +70,7 @@ extern "C" my_bool get_one_option(int optid, const struct my_option *opt,
char
*
argument
);
static
my_bool
sql_connect
(
MYSQL
*
mysql
,
uint
wait
);
static
int
execute_commands
(
MYSQL
*
mysql
,
int
argc
,
char
**
argv
);
static
char
**
mask_password
(
int
argc
,
char
***
argv
);
static
int
drop_db
(
MYSQL
*
mysql
,
const
char
*
db
);
extern
"C"
sig_handler
endprog
(
int
signal_number
);
static
void
nice_time
(
ulong
sec
,
char
*
buff
);
...
...
@@ -303,9 +304,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
int
main
(
int
argc
,
char
*
argv
[])
{
int
error
=
0
;
int
error
=
0
,
temp_argc
;
MYSQL
mysql
;
char
**
commands
,
**
save_argv
;
char
**
commands
,
**
save_argv
,
**
temp_argv
;
MY_INIT
(
argv
[
0
]);
mysql_init
(
&
mysql
);
...
...
@@ -313,8 +314,12 @@ int main(int argc,char *argv[])
if
((
error
=
load_defaults
(
"my"
,
load_default_groups
,
&
argc
,
&
argv
)))
goto
err1
;
save_argv
=
argv
;
/* Save for free_defaults */
if
((
error
=
handle_options
(
&
argc
,
&
argv
,
my_long_options
,
get_one_option
)))
goto
err2
;
temp_argv
=
mask_password
(
argc
,
&
argv
);
temp_argc
=
argc
;
if
(
debug_info_flag
)
my_end_arg
=
MY_CHECK_ERROR
|
MY_GIVE_INFO
;
if
(
debug_check_flag
)
...
...
@@ -325,7 +330,7 @@ int main(int argc,char *argv[])
usage
();
exit
(
1
);
}
commands
=
argv
;
commands
=
temp_
argv
;
if
(
tty_password
)
opt_password
=
get_tty_password
(
NullS
);
...
...
@@ -465,6 +470,13 @@ int main(int argc,char *argv[])
}
/* got connection */
mysql_close
(
&
mysql
);
temp_argc
--
;
while
(
temp_argc
>=
0
)
{
my_free
(
temp_argv
[
temp_argc
]);
temp_argc
--
;
}
my_free
(
temp_argv
);
err2:
mysql_library_end
();
my_free
(
opt_password
);
...
...
@@ -1165,6 +1177,47 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
return
0
;
}
/**
@brief Masking the password if it is passed as command line argument.
@details It works in Linux and changes cmdline in ps and /proc/pid/cmdline,
but it won't work for history file of shell.
The command line arguments are copied to another array and the
password in the argv is masked. This function is called just after
"handle_options" because in "handle_options", the agrv pointers
are altered which makes freeing of dynamically allocated memory
difficult. The password masking is done before all other operations
in order to minimise the time frame of password visibility via cmdline.
@param argc command line options (count)
@param argv command line options (values)
@return temp_argv copy of argv
*/
static
char
**
mask_password
(
int
argc
,
char
***
argv
)
{
char
**
temp_argv
;
temp_argv
=
(
char
**
)(
my_malloc
(
sizeof
(
char
*
)
*
argc
,
MYF
(
MY_WME
)));
argc
--
;
while
(
argc
>
0
)
{
temp_argv
[
argc
]
=
my_strdup
((
*
argv
)[
argc
],
MYF
(
MY_FAE
));
if
(
find_type
((
*
argv
)[
argc
-
1
],
&
command_typelib
,
FIND_TYPE_BASIC
)
==
ADMIN_PASSWORD
||
find_type
((
*
argv
)[
argc
-
1
],
&
command_typelib
,
FIND_TYPE_BASIC
)
==
ADMIN_OLD_PASSWORD
)
{
char
*
start
=
(
*
argv
)[
argc
];
while
(
*
start
)
*
start
++=
'x'
;
start
=
(
*
argv
)[
argc
];
if
(
*
start
)
start
[
1
]
=
0
;
/* Cut length of argument */
}
argc
--
;
}
temp_argv
[
argc
]
=
my_strdup
((
*
argv
)[
argc
],
MYF
(
MY_FAE
));
return
(
temp_argv
);
}
static
void
print_version
(
void
)
{
...
...
client/mysqldump.c
View file @
81073b03
...
...
@@ -1171,7 +1171,7 @@ check_consistent_binlog_pos(char *binlog_pos_file, char *binlog_pos_offset)
if
(
mysql_query_with_error_report
(
mysql
,
&
res
,
"SHOW STATUS LIKE 'binlog_snapshot_%'"
))
return
1
;
return
0
;
found
=
0
;
while
((
row
=
mysql_fetch_row
(
res
)))
...
...
@@ -5645,11 +5645,27 @@ int main(int argc, char **argv)
dump_all_tablespaces
();
dump_all_databases
();
}
else
if
(
argc
>
1
&&
!
opt_databases
)
else
{
// Check all arguments meet length condition. Currently database and table
// names are limited to NAME_LEN bytes and stack-based buffers assumes
// that escaped name will be not longer than NAME_LEN*2 + 2 bytes long.
int
argument
;
for
(
argument
=
0
;
argument
<
argc
;
argument
++
)
{
size_t
argument_length
=
strlen
(
argv
[
argument
]);
if
(
argument_length
>
NAME_LEN
)
{
die
(
EX_CONSCHECK
,
"[ERROR] Argument '%s' is too long, it cannot be "
"name for any table or database.
\n
"
,
argv
[
argument
]);
}
}
if
(
argc
>
1
&&
!
opt_databases
)
{
/* Only one database and selected table(s) */
if
(
!
opt_alltspcs
&&
!
opt_notspcs
)
dump_tablespaces_for_tables
(
*
argv
,
(
argv
+
1
),
(
argc
-
1
));
dump_tablespaces_for_tables
(
*
argv
,
(
argv
+
1
),
(
argc
-
1
));
dump_selected_tables
(
*
argv
,
(
argv
+
1
),
(
argc
-
1
));
}
else
...
...
@@ -5659,6 +5675,7 @@ int main(int argc, char **argv)
dump_tablespaces_for_databases
(
argv
);
dump_databases
(
argv
);
}
}
/* add 'START SLAVE' to end of dump */
if
(
opt_slave_apply
&&
add_slave_statements
())
...
...
cmake/dtrace.cmake
View file @
81073b03
# Copyright (c) 2009, 201
3
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 201
4
, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -80,13 +80,6 @@ IF(ENABLE_DTRACE)
${
CMAKE_BINARY_DIR
}
/include/probes_mysql_dtrace.h
${
CMAKE_BINARY_DIR
}
/include/probes_mysql_nodtrace.h
)
IF
(
CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
# Systemtap object
EXECUTE_PROCESS
(
COMMAND
${
DTRACE
}
-G -s
${
CMAKE_SOURCE_DIR
}
/include/probes_mysql.d.base
-o
${
CMAKE_BINARY_DIR
}
/probes_mysql.o
)
ENDIF
()
ADD_CUSTOM_TARGET
(
gen_dtrace_header
DEPENDS
${
CMAKE_BINARY_DIR
}
/include/probes_mysql.d
...
...
@@ -105,12 +98,7 @@ FUNCTION(DTRACE_INSTRUMENT target)
IF
(
ENABLE_DTRACE
)
ADD_DEPENDENCIES
(
${
target
}
gen_dtrace_header
)
IF
(
CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
TARGET_LINK_LIBRARIES
(
${
target
}
${
CMAKE_BINARY_DIR
}
/probes_mysql.o
)
ENDIF
()
# On Solaris, invoke dtrace -G to generate object file and
# link it together with target.
# Invoke dtrace to generate object file and link it together with target.
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
)
SET
(
objdir
${
CMAKE_CURRENT_BINARY_DIR
}
/CMakeFiles/
${
target
}
.dir
)
SET
(
outfile
${
objdir
}
/
${
target
}
_dtrace.o
)
...
...
@@ -127,6 +115,21 @@ FUNCTION(DTRACE_INSTRUMENT target)
-P
${
CMAKE_SOURCE_DIR
}
/cmake/dtrace_prelink.cmake
WORKING_DIRECTORY
${
objdir
}
)
ELSEIF
(
CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
# dtrace on Linux runs gcc and uses flags from environment
SET
(
CFLAGS_SAVED $ENV{CFLAGS}
)
SET
(
ENV{CFLAGS}
${
CMAKE_C_FLAGS
}
)
SET
(
outfile
"
${
CMAKE_BINARY_DIR
}
/probes_mysql.o"
)
# Systemtap object
EXECUTE_PROCESS
(
COMMAND
${
DTRACE
}
-G -s
${
CMAKE_SOURCE_DIR
}
/include/probes_mysql.d.base
-o
${
outfile
}
)
SET
(
ENV{CFLAGS}
${
CFLAGS_SAVED
}
)
ENDIF
()
# Do not try to extend the library if we have not built the .o file
IF
(
outfile
)
# Add full object path to linker flags
GET_TARGET_PROPERTY
(
target_type
${
target
}
TYPE
)
IF
(
NOT target_type MATCHES
"STATIC"
)
...
...
cmake/install_macros.cmake
View file @
81073b03
...
...
@@ -38,7 +38,9 @@ FUNCTION (INSTALL_DEBUG_SYMBOLS)
STRING
(
REPLACE
".dll"
".pdb"
pdb_location
${
pdb_location
}
)
STRING
(
REPLACE
".lib"
".pdb"
pdb_location
${
pdb_location
}
)
IF
(
CMAKE_GENERATOR MATCHES
"Visual Studio"
)
STRING
(
REPLACE
"
${
CMAKE_CFG_INTDIR
}
"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
pdb_location
${
pdb_location
}
)
STRING
(
REPLACE
"
${
CMAKE_CFG_INTDIR
}
"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
pdb_location
${
pdb_location
}
)
ENDIF
()
set
(
comp
""
)
...
...
cmake/os/Windows.cmake
View file @
81073b03
# Copyright (c) 2010, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2010, 201
4
, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -62,22 +62,30 @@ IF(MINGW AND CMAKE_SIZEOF_VOID_P EQUAL 4)
ENDIF
()
IF
(
MSVC
)
# Enable debug info also in Release build, and create PDB to be able to analyze
# crashes
FOREACH
(
lang C CXX
)
SET
(
CMAKE_
${
lang
}
_FLAGS_RELEASE
"
${
CMAKE_
${
lang
}
_FLAGS_RELEASE
}
/Zi"
)
ENDFOREACH
()
# Enable debug info also in Release build,
# and create PDB to be able to analyze crashes.
FOREACH
(
type EXE SHARED MODULE
)
SET
(
CMAKE_{type}_LINKER_FLAGS_RELEASE
"
${
CMAKE_
${
type
}
_LINKER_FLAGS_RELEASE
}
/debug"
)
SET
(
CMAKE_{type}_LINKER_FLAGS_RELEASE
"
${
CMAKE_
${
type
}
_LINKER_FLAGS_RELEASE
}
/debug"
)
ENDFOREACH
()
# Force static runtime libraries
# - Choose debugging information:
# /Z7
# Produces an .obj file containing full symbolic debugging
# information for use with the debugger. The symbolic debugging
# information includes the names and types of variables, as well as
# functions and line numbers. No .pdb file is produced by the compiler.
FOREACH
(
lang C CXX
)
SET
(
CMAKE_
${
lang
}
_FLAGS_RELEASE
"
${
CMAKE_
${
lang
}
_FLAGS_RELEASE
}
/Z7"
)
ENDFOREACH
()
FOREACH
(
flag
CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG_INIT
CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG_INIT
)
STRING
(
REPLACE
"/MD"
"/MT"
"
${
flag
}
"
"
${${
flag
}}
"
)
STRING
(
REPLACE
"/Zi"
"/Z7"
"
${
flag
}
"
"
${${
flag
}}
"
)
ENDFOREACH
()
# Remove support for exceptions
...
...
@@ -109,7 +117,6 @@ IF(MSVC)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
/wd4800 /wd4805 /wd4996"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4800 /wd4805 /wd4996 /we4099"
)
IF
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
# _WIN64 is defined by the compiler itself.
# Yet, we define it here again to work around a bug with Intellisense
...
...
extra/yassl/CMakeLists.txt
View file @
81073b03
# Copyright (c) 2006, 201
3
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2006, 201
4
, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -37,7 +37,6 @@ ENDIF()
ADD_CONVENIENCE_LIBRARY
(
yassl
${
YASSL_SOURCES
}
)
RESTRICT_SYMBOL_EXPORTS
(
yassl
)
INSTALL_DEBUG_SYMBOLS
(
yassl
)
IF
(
MSVC
)
INSTALL_DEBUG_TARGET
(
yassl DESTINATION
${
INSTALL_LIBDIR
}
/debug
)
ENDIF
()
...
...
extra/yassl/src/ssl.cpp
View file @
81073b03
/*
Copyright (c) 2005, 201
2
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2005, 201
4
, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -790,7 +790,10 @@ int SSL_CTX_load_verify_locations(SSL_CTX* ctx, const char* file,
strncpy
(
name
,
path
,
MAX_PATH
-
1
-
HALF_PATH
);
strncat
(
name
,
"/"
,
1
);
strncat
(
name
,
entry
->
d_name
,
HALF_PATH
);
if
(
stat
(
name
,
&
buf
)
<
0
)
return
SSL_BAD_STAT
;
if
(
stat
(
name
,
&
buf
)
<
0
)
{
closedir
(
dir
);
return
SSL_BAD_STAT
;
}
if
(
S_ISREG
(
buf
.
st_mode
))
ret
=
read_file
(
ctx
,
name
,
SSL_FILETYPE_PEM
,
CA
);
...
...
extra/yassl/taocrypt/CMakeLists.txt
View file @
81073b03
# Copyright (c) 2006, 201
3
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2006, 201
4
, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -36,7 +36,6 @@ ENDIF()
ADD_CONVENIENCE_LIBRARY
(
taocrypt
${
TAOCRYPT_SOURCES
}
)
RESTRICT_SYMBOL_EXPORTS
(
taocrypt
)
INSTALL_DEBUG_SYMBOLS
(
taocrypt
)
IF
(
MSVC
)
INSTALL_DEBUG_TARGET
(
taocrypt DESTINATION
${
INSTALL_LIBDIR
}
/debug
)
ENDIF
()
...
...
extra/yassl/taocrypt/include/asn.hpp
View file @
81073b03
/*
Copyright (c) 2005, 201
2
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2005, 201
4
, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -294,8 +294,8 @@ private:
byte
*
signature_
;
char
issuer_
[
ASN_NAME_MAX
];
// Names
char
subject_
[
ASN_NAME_MAX
];
// Names
char
beforeDate_
[
MAX_DATE_SZ
];
// valid before date
char
afterDate_
[
MAX_DATE_SZ
];
// valid after date
char
beforeDate_
[
MAX_DATE_SZ
+
1
];
// valid before date
, +null term
char
afterDate_
[
MAX_DATE_SZ
+
1
];
// valid after date
, +null term
bool
verify_
;
// Default to yes, but could be off
void
ReadHeader
();
...
...
include/thread_pool_priv.h
View file @
81073b03
#error don't use
/*
Copyright (c) 2010, 201
2
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 201
4
, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -50,6 +50,8 @@ void thd_clear_errors(THD *thd);
void
thd_set_thread_stack
(
THD
*
thd
,
char
*
stack_start
);
void
thd_lock_thread_count
(
THD
*
thd
);
void
thd_unlock_thread_count
(
THD
*
thd
);
void
thd_lock_thread_remove
(
THD
*
thd
);
void
thd_unlock_thread_remove
(
THD
*
thd
);
void
thd_close_connection
(
THD
*
thd
);
THD
*
thd_get_current_thd
();
void
thd_lock_data
(
THD
*
thd
);
...
...
libmysql/CMakeLists.txt
View file @
81073b03
...
...
@@ -385,7 +385,6 @@ SET(LIBS clientlib dbug strings vio mysys ${ZLIB_LIBRARY} ${SSL_LIBRARIES} ${LIB
MERGE_LIBRARIES
(
mysqlclient STATIC
${
LIBS
}
COMPONENT Development
)
# Visual Studio users need debug static library for debug projects
INSTALL_DEBUG_SYMBOLS
(
clientlib
)
IF
(
MSVC
)
INSTALL_DEBUG_TARGET
(
mysqlclient DESTINATION
${
INSTALL_LIBDIR
}
/debug
)
INSTALL_DEBUG_TARGET
(
clientlib DESTINATION
${
INSTALL_LIBDIR
}
/debug
)
...
...
man/CMakeLists.txt
View file @
81073b03
...
...
@@ -14,6 +14,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
SET
(
MAN1_SERVER innochecksum.1 my_print_defaults.1 myisam_ftdump.1 myisamchk.1
aria_chk.1 aria_dump_log.1 aria_ftdump.1 aria_pack.1 aria_read_log.1
myisamlog.1 myisampack.1 mysql.server.1
mysql_convert_table_format.1 mysql_fix_extensions.1
mysql_install_db.1
...
...
man/aria_pack.1
View file @
81073b03
.TH ARIA_PACK "1" "May 2014" "aria_pack Ver 1.0" "User Commands"
.SH NAME
aria_pack \-
manual page for aria_pack Ver 1.0
aria_pack \-
generate compressed, read\-only Aria tables
.SH SYNOPSIS
.B aria_pack
[\fIOPTIONS\fR] \fIfilename\fR...
...
...
man/mysqlbinlog.1
View file @
81073b03
...
...
@@ -1255,7 +1255,7 @@ indicates a
FORMAT_DESCRIPTION_EVENT\&. The following table lists the possible type codes\&.
.TS
allbox tab(:);
l l l.
l l l
x
.
T{
Type
T}:T{
...
...
@@ -1389,6 +1389,7 @@ T}
T{
0f
T}:T{
.nf
FORMAT_DESCRIPTION_EVENT
T}:T{
This indicates the start of a log file written by MySQL 5 or later\&.
...
...
@@ -1526,7 +1527,7 @@ Master Pos: The position of the next event in the original master log file\&.
Flags: 16 flags\&. Currently, the following flags are used\&. The others are reserved for future use\&.
.TS
allbox tab(:);
l l l.
l l l
x
.
T{
Flag
T}:T{
...
...
@@ -1537,6 +1538,7 @@ T}
T{
01
T}:T{
.nf
LOG_EVENT_BINLOG_IN_USE_F
T}:T{
Log file correctly closed\&. (Used only in
...
...
@@ -1558,6 +1560,7 @@ T}
T{
04
T}:T{
.nf
LOG_EVENT_THREAD_SPECIFIC_F
T}:T{
Set if the event is dependent on the connection it was executed in (for
...
...
man/mysqldump.1
View file @
81073b03
...
...
@@ -2027,7 +2027,7 @@ value, an empty string, and the string value
are distinguished from one another in the output generated by this option as follows\&.
.TS
allbox tab(:);
l l.
l l
x
.
T{
\fBValue\fR:
T}:T{
...
...
mysql-test/collections/default.weekly
100755 → 100644
View file @
81073b03
File mode changed from 100755 to 100644
mysql-test/include/install_semisync.inc
View file @
81073b03
...
...
@@ -14,7 +14,7 @@
if
(
$value
==
No
such
row
)
{
SET
sql_log_bin
=
0
;
eval
INSTALL
PLUGIN
rpl_semi_sync_master
SONAME
'$SEMISYNC_MASTER_PLUGIN
'
;
install
plugin
rpl_semi_sync_master
soname
'semisync_master
'
;
SET
GLOBAL
rpl_semi_sync_master_enabled
=
1
;
SET
sql_log_bin
=
1
;
}
...
...
@@ -28,7 +28,7 @@ if ($value == No such row)
if
(
$value
==
No
such
row
)
{
SET
sql_log_bin
=
0
;
eval
INSTALL
PLUGIN
rpl_semi_sync_slave
SONAME
'$SEMISYNC_SLAVE_PLUGIN
'
;
install
plugin
rpl_semi_sync_slave
soname
'semisync_slave
'
;
SET
GLOBAL
rpl_semi_sync_slave_enabled
=
1
;
SET
sql_log_bin
=
1
;
}
...
...
Prev
1
2
3
4
5
…
15
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment