You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* MDEV-38410: Use array, not `std::initializer_list`
Some environments appear not to retain the backing array of a
static `std::initializer_list` in the MDEV-37530 release candidate,
and eventually crash when reading overwritten data.
This commit resolves the stealth issue by reverting to conventional
arrays, while maintaining convenience through deductive overloads.
* Compile problems
* Some of our platforms (namely SUSE 15, which uses GCC 7.5) support
C++17 syntaxes, but not all libraries, `<charconv>`` among those.
* Update to the current `main` branch
Co-authored-by: Sergei Golubchik <[email protected]>
Co-authored-by: Brandon Nesterenko <[email protected]>
Copy file name to clipboardExpand all lines: mysql-test/suite/binlog_in_engine/rpl_heartbeat.result
-35Lines changed: 0 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -8,41 +8,6 @@ reset master;
8
8
connection slave;
9
9
set @restore_slave_net_timeout= @@global.slave_net_timeout;
10
10
set @@global.slave_net_timeout= 10;
11
-
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root';
12
-
show status like 'Slave_heartbeat_period';;
13
-
Variable_name Slave_heartbeat_period
14
-
Value 5.000
15
-
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 4294968;
16
-
ERROR HY000: The requested value for the heartbeat period is either negative or exceeds the maximum allowed (4294967 seconds)
17
-
show status like 'Slave_heartbeat_period';;
18
-
Variable_name Slave_heartbeat_period
19
-
Value 5.000
20
-
connection slave;
21
-
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 0.0009999;
22
-
Warnings:
23
-
Warning 1703 The requested value for the heartbeat period is less than 1 millisecond. The value is reset to 0, meaning that heartbeating will effectively be disabled
24
-
show status like 'Slave_heartbeat_period';;
25
-
Variable_name Slave_heartbeat_period
26
-
Value 0.000
27
-
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 4294967;
28
-
Warnings:
29
-
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout
30
-
show status like 'Slave_heartbeat_period';;
31
-
Variable_name Slave_heartbeat_period
32
-
Value 4294967.000
33
-
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 0.001;
34
-
show status like 'Slave_heartbeat_period';;
35
-
Variable_name Slave_heartbeat_period
36
-
Value 0.001
37
-
reset slave;
38
-
set @@global.slave_net_timeout= 5;
39
-
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 5.001;
40
-
Warnings:
41
-
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout
42
-
show status like 'Slave_heartbeat_period';;
43
-
Variable_name Slave_heartbeat_period
44
-
Value 5.001
45
-
reset slave;
46
11
set @@global.slave_net_timeout= 5;
47
12
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 4;
0 commit comments