-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
129 changed files
with
1,426 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
|
||
die <<EEE unless @ARGV; | ||
Usage: $0 func1 [func2 [ ...] ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl -w | ||
#!/usr/bin/env perl -w | ||
|
||
# mysqlreport v4.0 Oct 23 2015 | ||
# http://hackmysql.com/mysqlreport | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
|
||
# Copyright (C) 2006 MySQL AB | ||
# Use is subject to license terms | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007, 2008 MySQL AB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007 MySQL AB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007 MySQL AB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007 MySQL AB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007 MySQL AB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007 MySQL AB, 2009 Sun Microsystems, Inc. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2007 MySQL AB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
# -*- cperl -*- | ||
|
||
# Copyright (c) 2004, 2014, Oracle and/or its affiliates. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SET @saved_profiling=@@GLOBAL.profiling; | ||
SET @saved_init_connect=@@GLOBAL.init_connect; | ||
SET GLOBAL init_connect="set @a=2;set @b=3"; | ||
SET GLOBAL profiling=on; | ||
create user mysqltest1@localhost; | ||
connect con1,localhost,mysqltest1,,; | ||
connection con1; | ||
SELECT @a, @b; | ||
@a @b | ||
2 3 | ||
SHOW PROFILES; | ||
Query_ID Duration Query | ||
1 # set @a=2;set @b=3 | ||
2 # set @b=3 | ||
3 # SELECT @a, @b | ||
connection default; | ||
disconnect con1; | ||
DROP USER mysqltest1@localhost; | ||
SET GLOBAL profiling=@saved_profiling; | ||
SET GLOBAL init_connect=@saved_init_connect; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
|
||
# Copyright (c) 2011, Oracle and/or its affiliates | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
|
||
|
||
if ( (scalar(@ARGV) != 1 ) || ($ARGV[0] =~ /[^0-9]/i ) ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
|
||
|
||
if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
mysql-test/suite/galera_3nodes/r/galera_join_with_cc_A.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
CREATE TABLE t1 (pk INT PRIMARY KEY, node INT) ENGINE=innodb; | ||
INSERT INTO t1 VALUES (1, 1); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (2, 3); | ||
SET wsrep_sync_wait = 0; | ||
SET wsrep_on = OFF; | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,after_shift_to_joining'; | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
INSERT INTO t1 VALUES (3, 2); | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (4, 3); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
INSERT INTO t1 VALUES (5, 2); | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,before_send_state_request'; | ||
SET GLOBAL wsrep_provider_options = 'signal=after_shift_to_joining'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (6, 3); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
INSERT INTO t1 VALUES (7, 2); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (8, 3); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,process_primary_configuration'; | ||
SET GLOBAL wsrep_provider_options = 'signal=before_send_state_request'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
INSERT INTO t1 VALUES (9, 2); | ||
SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration'; | ||
SET GLOBAL wsrep_provider_options = 'dbug='; | ||
DROP TABLE t1; | ||
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); | ||
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); | ||
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); |
50 changes: 50 additions & 0 deletions
50
mysql-test/suite/galera_3nodes/r/galera_join_with_cc_B.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
CREATE TABLE t1 (pk INT PRIMARY KEY, node INT) ENGINE=innodb; | ||
INSERT INTO t1 VALUES (1, 1); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (2, 3); | ||
SET wsrep_sync_wait = 0; | ||
SET wsrep_on = OFF; | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,after_shift_to_joining'; | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
INSERT INTO t1 VALUES (3, 2); | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (4, 3); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
INSERT INTO t1 VALUES (5, 2); | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,before_send_state_request'; | ||
SET GLOBAL wsrep_provider_options = 'signal=after_shift_to_joining'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SET GLOBAL wsrep_provider_options = 'dbug='; | ||
SET GLOBAL wsrep_provider_options = 'signal=before_send_state_request'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SELECT * FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters'; | ||
VARIABLE_NAME VARIABLE_VALUE | ||
WSREP_DEBUG_SYNC_WAITERS after_shift_to_joining | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (6, 3); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
INSERT INTO t1 VALUES (7, 2); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; | ||
INSERT INTO t1 VALUES (8, 3); | ||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,process_primary_configuration'; | ||
SET GLOBAL wsrep_provider_options = 'signal=after_shift_to_joining'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
INSERT INTO t1 VALUES (9, 2); | ||
SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration'; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 0; | ||
SELECT * FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters'; | ||
VARIABLE_NAME VARIABLE_VALUE | ||
WSREP_DEBUG_SYNC_WAITERS process_primary_configuration | ||
SET GLOBAL wsrep_provider_options = 'signal=process_primary_configuration'; | ||
SET GLOBAL wsrep_provider_options = 'dbug='; | ||
DROP TABLE t1; | ||
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); | ||
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); | ||
call mtr.add_suppression("WSREP: Rejecting JOIN message from \(.*\): new State Transfer required."); |
Oops, something went wrong.