Skip to content

Commit cc3531b

Browse files
committed
Merge branch 'mysql-8.0' into mysql-trunk
2 parents 7248e78 + 979aa93 commit cc3531b

15 files changed

+156
-113
lines changed

mysql-test/r/flush2.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
select @@GLOBAL.relay_log_info_repository into @save_relay_log_info_repository;
22
select @@GLOBAL.expire_logs_days into @save_expire_logs_days;
33
Warnings:
4-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
4+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
55
set @@GLOBAL.relay_log_info_repository = 'FILE';
66
Warnings:
77
Warning 1287 'FILE' is deprecated and will be removed in a future release. Please use 'TABLE' instead
88
flush logs;
99
set global expire_logs_days = 3;
1010
Warnings:
11-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
11+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
1212
show variables like 'log_bin%';
1313
Variable_name Value
1414
log_bin OFF
@@ -47,4 +47,4 @@ relay_log_space_limit 0
4747
set @@GLOBAL.relay_log_info_repository = @save_relay_log_info_repository;
4848
set @@GLOBAL.expire_logs_days = @save_expire_logs_days;
4949
Warnings:
50-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
50+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.

mysql-test/r/log_components_notwin.result

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,54 +18,54 @@ logging to syseventlog
1818
logging to syseventlog
1919
SET @start_value= @@global.log_syslog;
2020
Warnings:
21-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
21+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
2222
SET @@global.log_syslog= DEFAULT;
2323
Warnings:
24-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
24+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
2525
SELECT @@global.log_syslog;
2626
@@global.log_syslog
2727
1
2828
Warnings:
29-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
29+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
3030
SET @@global.log_syslog= 0;
3131
Warnings:
32-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
32+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
3333
SELECT @@global.log_syslog;
3434
@@global.log_syslog
3535
0
3636
Warnings:
37-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
37+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
3838
SET @@global.log_syslog= 1;
3939
Warnings:
40-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
40+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
4141
SELECT @@global.log_syslog;
4242
@@global.log_syslog
4343
1
4444
Warnings:
45-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
45+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
4646
SET @@global.log_syslog= ON;
4747
Warnings:
48-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
48+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
4949
SELECT @@global.log_syslog;
5050
@@global.log_syslog
5151
1
5252
Warnings:
53-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
53+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
5454
SET @@global.log_syslog= OFF;
5555
Warnings:
56-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
56+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
5757
SELECT @@global.log_syslog;
5858
@@global.log_syslog
5959
0
6060
Warnings:
61-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
61+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
6262
SET @@global.log_syslog= 9;
6363
ERROR 42000: Variable 'log_syslog' can't be set to the value of '9'
6464
SELECT @@global.log_syslog;
6565
@@global.log_syslog
6666
0
6767
Warnings:
68-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
68+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
6969
SET GLOBAL log_syslog= 0.01;
7070
ERROR 42000: Incorrect argument type to variable 'log_syslog'
7171
SET SESSION log_syslog= 0;
@@ -74,7 +74,7 @@ SET LOCAL log_syslog= 0;
7474
ERROR HY000: Variable 'log_syslog' is a GLOBAL variable and should be set with SET GLOBAL
7575
SET @@global.log_syslog= @start_value;
7676
Warnings:
77-
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead
77+
Warning 1287 '@@log_syslog' is deprecated and will be removed in a future release. Please use --log_error_services instead.
7878
SET @start_value= @@global.log_syslog_facility;
7979
SET @@global.log_syslog_facility= DEFAULT;
8080
SELECT @@global.log_syslog_facility, @start_value;

mysql-test/r/variables.result

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,20 +1385,20 @@ SELECT @@global.binlog_expire_logs_seconds INTO @old_seconds;
13851385
SET @@global.binlog_expire_logs_seconds = 0;
13861386
SELECT @@global.expire_logs_days INTO @old_eld;
13871387
Warnings:
1388-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1388+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
13891389
SET GLOBAL expire_logs_days = -1;
13901390
Warnings:
1391-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1391+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
13921392
Warning 1292 Truncated incorrect expire_logs_days value: '-1'
13931393
needs to've been adjusted (0)
13941394
SELECT @@global.expire_logs_days;
13951395
@@global.expire_logs_days
13961396
0
13971397
Warnings:
1398-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1398+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
13991399
SET GLOBAL expire_logs_days = 11;
14001400
Warnings:
1401-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1401+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14021402
SET @old_mode=@@sql_mode;
14031403
SET SESSION sql_mode = 'TRADITIONAL';
14041404
SET GLOBAL expire_logs_days = 100;
@@ -1408,33 +1408,33 @@ SELECT @@global.expire_logs_days;
14081408
@@global.expire_logs_days
14091409
11
14101410
Warnings:
1411-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1411+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14121412
SET SESSION sql_mode = @old_mode;
14131413
SET GLOBAL expire_logs_days = 100;
14141414
Warnings:
1415-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1415+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14161416
Warning 1292 Truncated incorrect expire_logs_days value: '100'
14171417
needs to've been adjusted (99)
14181418
SELECT @@global.expire_logs_days;
14191419
@@global.expire_logs_days
14201420
99
14211421
Warnings:
1422-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1422+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14231423
SET GLOBAL expire_logs_days = 11;
14241424
Warnings:
1425-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1425+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14261426
SET GLOBAL expire_logs_days = 99;
14271427
Warnings:
1428-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1428+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14291429
needs to pass with no warnings (99)
14301430
SELECT @@global.expire_logs_days;
14311431
@@global.expire_logs_days
14321432
99
14331433
Warnings:
1434-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1434+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14351435
SET GLOBAL expire_logs_days = @old_eld;
14361436
Warnings:
1437-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
1437+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
14381438
SET GLOBAL binlog_expire_logs_seconds= @old_seconds;
14391439
SET GLOBAL auto_increment_offset=-1;
14401440
Warnings:

mysql-test/suite/binlog/r/binlog_expire_logs_days_deprecation.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ include/assert.inc [The value of binlog_expire_logs_seconds is changed to 259200
5959
SET GLOBAL binlog_expire_logs_seconds= 2592000;
6060
SET GLOBAL expire_logs_days= 0;
6161
Warnings:
62-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
62+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.

mysql-test/suite/binlog/r/binlog_expire_logs_seconds.result

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CALL mtr.add_suppression("The option expire_logs_days cannot be used together*")
55
SET GLOBAL binlog_expire_logs_seconds= 0;
66
SET GLOBAL expire_logs_days= 0;
77
Warnings:
8-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
8+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
99
CREATE TABLE t1(s LONGBLOB );
1010
Case:0
1111
FLUSH LOGS;
@@ -40,7 +40,7 @@ Testing with smaller values of binlog_expire_logs_seconds
4040
SET GLOBAL binlog_expire_logs_seconds= 30;
4141
SET GLOBAL expire_logs_days= 0;
4242
Warnings:
43-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
43+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
4444
FLUSH LOGS;
4545
FLUSH LOGS;
4646
FLUSH LOGS;
@@ -49,7 +49,7 @@ Testing with greater values of binlog_expire_logs_seconds
4949
SET GLOBAL binlog_expire_logs_seconds= 3600;
5050
SET GLOBAL expire_logs_days= 0;
5151
Warnings:
52-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
52+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
5353
CREATE TABLE t1(s LONGBLOB );
5454
Case:0
5555
FLUSH LOGS;
@@ -83,7 +83,7 @@ RESET MASTER;
8383
SET GLOBAL binlog_expire_logs_seconds= 0;
8484
SET GLOBAL expire_logs_days= 1;
8585
Warnings:
86-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
86+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
8787
CREATE TABLE t1(s LONGBLOB );
8888
Case:0
8989
FLUSH LOGS;
@@ -114,4 +114,4 @@ RESET MASTER;
114114
SET GLOBAL binlog_expire_logs_seconds= 0;
115115
SET GLOBAL expire_logs_days= 0;
116116
Warnings:
117-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
117+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.

mysql-test/suite/rpl/r/rpl_lock_backup_binary_and_relay_logs.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ include/sync_slave_sql_with_master.inc
88
[connection master]
99
SET @saved_expire_logs_days= @@GLOBAL.expire_logs_days;
1010
Warnings:
11-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
11+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
1212
SET @saved_binlog_expire_logs_seconds= @@GLOBAL.binlog_expire_logs_seconds;
1313
SET @@GLOBAL.expire_logs_days= 0;
1414
Warnings:
15-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
15+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
1616
SET @@GLOBAL.binlog_expire_logs_seconds= 1;
1717
[connection master1]
1818
LOCK INSTANCE FOR BACKUP;
@@ -54,5 +54,5 @@ SHOW RELAYLOG EVENTS IN 'LAST_RELAY_LOG_FILE';
5454
SET @@GLOBAL.binlog_expire_logs_seconds= @saved_binlog_expire_logs_seconds;
5555
SET @@GLOBAL.expire_logs_days= @saved_expire_logs_days;
5656
Warnings:
57-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
57+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
5858
include/rpl_end.inc

mysql-test/suite/sys_vars/r/binlog_expire_logs_seconds_basic.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
SET @start_value = @@global.expire_logs_days;
22
Warnings:
3-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
3+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
44
SELECT @start_value;
55
@start_value
66
0
77
SET @@global.expire_logs_days = 0;
88
Warnings:
9-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
9+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
1010
SET @start_value_sec = @@global.binlog_expire_logs_seconds;
1111
SELECT @start_value_sec;
1212
@start_value_sec
@@ -117,9 +117,9 @@ SELECT @@global.binlog_expire_logs_seconds;
117117
2592000
118118
SET @@global.expire_logs_days = @start_value;
119119
Warnings:
120-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
120+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
121121
SELECT @@global.expire_logs_days;
122122
@@global.expire_logs_days
123123
0
124124
Warnings:
125-
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead
125+
Warning 1287 '@@expire_logs_days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.

0 commit comments

Comments
 (0)