mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-14412 Support TCP keepalive options
Based on pull request by Oleg Obleukhov https://github.com/MariaDB/server/pull/400
This commit is contained in:
9
mysql-test/suite/sys_vars/r/tcp_keepalive_time.result
Normal file
9
mysql-test/suite/sys_vars/r/tcp_keepalive_time.result
Normal file
@ -0,0 +1,9 @@
|
||||
set global tcp_keepalive_time = 1;
|
||||
set global tcp_keepalive_interval =1;
|
||||
set global tcp_keepalive_probes=1;
|
||||
connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set global tcp_keepalive_time= default;
|
||||
set global tcp_keepalive_interval= default;
|
||||
set global tcp_keepalive_probes=default;
|
Reference in New Issue
Block a user