Skip to content

Commit 5a1a714

Browse files
committed
Merge 10.2 into 10.3 (except MDEV-17556)
The fix of MDEV-17556 (commit e25623e and commit 61a362c) has been omitted due to conflicts and will have to be applied separately later.
2 parents df1eefb + 3b548d3 commit 5a1a714

22 files changed

+996
-118
lines changed

cmake/install_macros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ IF(WIN32)
182182
MARK_AS_ADVANCED(SIGNCODE)
183183
IF(SIGNCODE)
184184
SET(SIGNTOOL_PARAMETERS
185-
/a /t http://timestamp.verisign.com/scripts/timstamp.dll
185+
/a /t http://timestamp.globalsign.com/scripts/timstamp.dll
186186
CACHE STRING "parameters for signtool (list)")
187187
FIND_PROGRAM(SIGNTOOL_EXECUTABLE signtool
188188
PATHS "$ENV{ProgramFiles}/Microsoft SDKs/Windows/v7.0A/bin"

mysql-test/suite/galera/t/galera_rsu_error.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
99
INSERT INTO t1 VALUES (1), (1);
1010

1111
--connection node_2
12+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
13+
--source include/wait_condition.inc
14+
1215
SET SESSION wsrep_OSU_method = "RSU";
1316
--error ER_DUP_ENTRY
1417
ALTER TABLE t1 ADD PRIMARY KEY (f1);

mysql-test/suite/galera/t/galera_toi_ddl_sequential.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
99
INSERT INTO t1 VALUES (1);
1010

1111
--connection node_2
12+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
13+
--source include/wait_condition.inc
14+
1215
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
1316
INSERT INTO t1 VALUES (2, 3);
1417

mysql-test/suite/galera/t/galera_toi_lock_shared.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
1010
INSERT INTO t1 VALUES (1);
1111

1212
--connection node_2
13+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
14+
--source include/wait_condition.inc
15+
1316
ALTER TABLE t1 ADD COLUMN f2 INTEGER, LOCK=SHARED;
1417

1518
--connection node_1

mysql-test/suite/galera/t/galera_truncate.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
1414
INSERT INTO t1 VALUES (1);
1515

1616
--connection node_2
17+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
18+
--source include/wait_condition.inc
19+
1720
TRUNCATE TABLE t1;
1821
SELECT COUNT(*) = 0 FROM t1;
1922

mysql-test/suite/galera/t/galera_truncate_temporary.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ CREATE TEMPORARY TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
6767
INSERT INTO t1 VALUES (2);
6868

6969
--connection node_2
70+
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
71+
--source include/wait_condition.inc
72+
7073
TRUNCATE TABLE t1;
7174

7275
SELECT COUNT(*) = 0 FROM t1;

mysql-test/suite/plugins/r/server_audit.result

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ set global server_audit_logging= on;
227227
disconnect cn1;
228228
drop user user1@localhost;
229229
set global server_audit_events='';
230+
set global server_audit_incl_users='root, plug_dest';
230231
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
231232
CREATE USER plug_dest IDENTIFIED BY 'plug_dest_passwd';
232233
connect(localhost,plug,plug_dest,test,MYSQL_PORT,MYSQL_SOCK);
@@ -277,7 +278,7 @@ server_audit_file_path
277278
server_audit_file_rotate_now OFF
278279
server_audit_file_rotate_size 1000000
279280
server_audit_file_rotations 9
280-
server_audit_incl_users root
281+
server_audit_incl_users root, plug_dest
281282
server_audit_logging ON
282283
server_audit_mode 1
283284
server_audit_output_type file
@@ -419,6 +420,7 @@ TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,procs_priv,
419420
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,proxies_priv,
420421
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,roles_mapping,
421422
TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'set global server_audit_events=\'\'',0
423+
TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'set global server_audit_incl_users=\'root, plug_dest\'',0
422424
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,user,
423425
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,db,
424426
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,tables_priv,
@@ -442,6 +444,7 @@ TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,proxies_priv,
442444
TIME,HOSTNAME,root,localhost,ID,ID,QUERY,sa_db,'GRANT PROXY ON plug_dest TO plug',0
443445
TIME,HOSTNAME,plug,localhost,ID,0,CONNECT,test,,0
444446
TIME,HOSTNAME,plug,localhost,ID,0,PROXY_CONNECT,test,`plug_dest`@`%`,0
447+
TIME,HOSTNAME,plug,localhost,ID,ID,QUERY,test,'select USER(),CURRENT_USER()',0
445448
TIME,HOSTNAME,plug,localhost,ID,0,DISCONNECT,test,,0
446449
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,user,
447450
TIME,HOSTNAME,root,localhost,ID,ID,WRITE,mysql,db,

mysql-test/suite/plugins/t/server_audit.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ source include/wait_until_count_sessions.inc;
173173
drop user user1@localhost;
174174

175175
set global server_audit_events='';
176+
set global server_audit_incl_users='root, plug_dest';
176177

177178
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
178179
CREATE USER plug_dest IDENTIFIED BY 'plug_dest_passwd';

0 commit comments

Comments
 (0)