Skip to content

Commit 69bb73a

Browse files
author
Alexander Nozdrin
committed
Auto-merge from mysql-5.1-rpl-merge.
2 parents 9c820e6 + fe99d91 commit 69bb73a

File tree

350 files changed

+56344
-11601
lines changed

Some content is hidden

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

350 files changed

+56344
-11601
lines changed

.bzrignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ client/rpl_record_old.h
392392
client/rpl_tblmap.h
393393
client/rpl_tblmap.cc
394394
client/rpl_utility.h
395+
client/rpl_utility.cc
395396
client/select_test
396397
client/sql_string.cpp
397398
client/ssl_test
@@ -1143,6 +1144,7 @@ libmysqld/rpl_handler.cc
11431144
libmysqld/rpl_injector.cc
11441145
libmysqld/rpl_record.cc
11451146
libmysqld/rpl_record_old.cc
1147+
libmysqld/rpl_utility.cc
11461148
libmysqld/scheduler.cc
11471149
libmysqld/set_var.cc
11481150
libmysqld/simple-test

client/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ DEFS = -DMYSQL_CLIENT_NO_THREADS \
104104
-DMYSQL_DATADIR="\"$(localstatedir)\""
105105

106106
sql_src=log_event.h mysql_priv.h rpl_constants.h \
107-
rpl_utility.h rpl_tblmap.h rpl_tblmap.cc \
107+
rpl_tblmap.h rpl_tblmap.cc \
108108
log_event.cc my_decimal.h my_decimal.cc \
109109
log_event_old.h log_event_old.cc \
110+
rpl_utility.h rpl_utility.cc \
110111
rpl_record_old.h rpl_record_old.cc
111112
strings_src=decimal.c dtoa.c
112113

client/mysqlbinlog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2140,4 +2140,4 @@ int main(int argc, char** argv)
21402140
#include "my_decimal.cc"
21412141
#include "log_event.cc"
21422142
#include "log_event_old.cc"
2143-
2143+
#include "rpl_utility.cc"

include/mysql_com.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ enum enum_server_command
117117
thread */
118118
#define REFRESH_MASTER 128 /* Remove all bin logs in the index
119119
and truncate the index */
120+
#define REFRESH_ERROR_LOG 256 /* Rotate only the erorr log */
121+
#define REFRESH_ENGINE_LOG 512 /* Flush all storage engine logs */
122+
#define REFRESH_BINARY_LOG 1024 /* Flush the binary log */
123+
#define REFRESH_RELAY_LOG 2048 /* Flush the relay log */
124+
#define REFRESH_GENERAL_LOG 4096 /* Flush the general log */
125+
#define REFRESH_SLOW_LOG 8192 /* Flush the slow query log */
120126

121127
/* The following can't be set with mysql_refresh() */
122128
#define REFRESH_READ_LOCK 16384 /* Lock tables for read */

libmysqld/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sqlsources = derror.cc field.cc field_conv.cc strfunc.cc filesort.cc \
5656
item_geofunc.cc item_subselect.cc item_row.cc\
5757
item_xmlfunc.cc \
5858
key.cc lock.cc log.cc sql_state.c \
59-
log_event.cc rpl_record.cc \
59+
log_event.cc rpl_record.cc rpl_utility.cc \
6060
log_event_old.cc rpl_record_old.cc \
6161
protocol.cc net_serv.cc opt_range.cc \
6262
opt_sum.cc procedure.cc records.cc sql_acl.cc \

mysql-test/extra/binlog_tests/binlog_failure_mixing_engines.test

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

mysql-test/extra/binlog_tests/blackhole.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
-- source include/have_blackhole.inc
77
-- source include/have_log_bin.inc
88

9+
CALL mtr.add_suppression("Unsafe statement binlogged in statement format since BINLOG_FORMAT = STATEMENT");
10+
911
# The server need to be started in $MYSQLTEST_VARDIR since it
1012
# uses ../../std_data/
1113
-- source include/uses_vardir.inc

0 commit comments

Comments
 (0)