Skip to content

Commit bb002b2

Browse files
author
Konstantin Osipov
committed
Merge next-mr -> next-4284.
--BZR-- revision-id: [email protected] property-branch-nick: next-4284-merge testament3-sha1: 7b75b56391a729c449dd61bcd43701cdab74ac7b
2 parents d253746 + e28209d commit bb002b2

357 files changed

Lines changed: 56362 additions & 11607 deletions

File tree

Some content is hidden

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

.bzrfileids

4.8 KB
Binary file not shown.

.bzrignore

Lines changed: 3 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
@@ -3075,3 +3077,4 @@ client/transaction.h
30753077
libmysqld/transaction.cc
30763078
libmysqld/sys_vars.cc
30773079
libmysqld/keycaches.cc
3080+
client/dtoa.c

client/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,11 @@ 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 \
110110
rpl_record_old.h rpl_record_old.cc \
111+
rpl_utility.h rpl_utility.cc \
111112
transaction.h
112113
strings_src=decimal.c dtoa.c
113114

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/collections/default.experimental

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,28 @@ main.information_schema # Bug#47449 2009-09-19 alik main.inform
1111
main.lock_multi_bug38499 # Bug#47448 2009-09-19 alik main.lock_multi_bug38499 times out sporadically
1212
main.lock_multi_bug38691 @solaris # Bug#47792 2009-10-02 alik main.lock_multi_bug38691 times out sporadically on Solaris 10
1313
main.log_tables # Bug#47924 2009-10-08 alik main.log_tables times out sporadically
14+
main.outfile_loaddata @solaris # bug#46895 2010-01-20 alik Test "outfile_loaddata" fails (reproducible)
1415
main.plugin # Bug#47146 Linking problem with example plugin when dtrace enabled
16+
main.signal_demo3 @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
17+
main.sp @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
18+
19+
perfschema.tampered_perfschema_table1 @windows # Bug#50478 2010-01-20 alik perfschema.tampered_perfschema_table1 fails sporadically on Windows and Solaris
20+
perfschema.tampered_perfschema_table1 @solaris # Bug#50478 2010-01-20 alik perfschema.tampered_perfschema_table1 fails sporadically on Windows and Solaris
1521

1622
rpl.rpl_get_master_version_and_clock* # Bug#49191 2009-12-01 Daogang rpl_get_master_version_and_clock failed on PB2: COM_REGISTER_SLAVE failed
1723
rpl.rpl_heartbeat_basic # BUG#43828 2009-10-22 luis fails sporadically
1824
rpl.rpl_heartbeat_2slaves # BUG#43828 2009-10-22 luis fails sporadically
1925
rpl.rpl_innodb_bug28430* # Bug#46029
2026
rpl.rpl_innodb_bug30888* @solaris # Bug#47646 2009-09-25 alik rpl.rpl_innodb_bug30888 fails sporadically on Solaris
27+
rpl.rpl_killed_ddl @windows # Bug#47638 2010-01-20 alik The rpl_killed_ddl test fails on Windows
2128
rpl.rpl_plugin_load* @solaris # Bug#47146
29+
rpl.rpl_row_sp011* @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
30+
rpl.rpl_slave_load_remove_tmpfile* @windows # Bug#50474 2010-01-20 alik rpl_slave_load_remove_tmpfile failed on windows debug enabled binary
31+
rpl.rpl_sync* @windows # Bug#50473 2010-01-20 alik rpl_sync fails on windows debug enabled binaries
2232
rpl.rpl_timezone* # Bug#47017 2009-10-27 alik rpl_timezone fails on PB-2 with mismatch error
2333

34+
sys_vars.max_sp_recursion_depth_func @solaris # Bug#47791 2010-01-20 alik Several test cases fail on Solaris with error Thread stack overrun
35+
2436
# Declare all NDB-tests in ndb and rpl_ndb test suites experimental.
2537
# Usually the test cases from ndb and rpl_ndb test suites are not run in PB,
2638
# but they run by gcov.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --suite=main,binlog,innodb,federated,rpl,sys_vars
2-
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --suite=main,binlog,innodb,federated,rpl
3-
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-emebbed --embedded --suite=main,binlog,innodb,federated,rpl
1+
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --suite=main,binlog,innodb,federated,rpl,sys_vars,perfschema
2+
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --suite=main,binlog,innodb,federated,rpl,sys_vars,perfschema
3+
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-emebbed --embedded --suite=main,binlog,innodb,federated,rpl,sys_vars,perfschema
44
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --mysqld=--binlog-format=row --suite=rpl,binlog
55
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --suite=main,binlog,innodb,federated,rpl
2-
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --suite=main,binlog,innodb,federated,rpl
3-
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-emebbed --embedded --suite=main,binlog,innodb,federated,rpl
1+
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed --suite=main,binlog,innodb,federated,rpl,sys_vars,perfschema
2+
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row --suite=main,binlog,innodb,federated,rpl,sys_vars,perfschema
3+
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-emebbed --embedded --suite=main,binlog,innodb,federated,rpl,sys_vars,perfschema
44
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=rpl_binlog_row --vardir=var-rpl_binlog_row --mysqld=--binlog-format=row --suite=rpl,binlog
55
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1

0 commit comments

Comments
 (0)