remove some unused code (#9240)

This commit is contained in:
GoGoWen
2022-04-27 11:04:16 +08:00
committed by GitHub
parent 923c38398f
commit 4f19fe81ec

View File

@ -275,7 +275,7 @@ public class SessionVariable implements Serializable, Writable {
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
@VariableMgr.VarAttr(name = WAIT_TIMEOUT)
public int waitTimeout = 28800;
public int waitTimeoutS = 28800;
// The number of seconds to wait for a block to be written to a connection before aborting the write
@VariableMgr.VarAttr(name = NET_WRITE_TIMEOUT)
@ -466,7 +466,7 @@ public class SessionVariable implements Serializable, Writable {
}
public int getWaitTimeoutS() {
return waitTimeout;
return waitTimeoutS;
}
public long getSqlMode() {
@ -551,10 +551,6 @@ public class SessionVariable implements Serializable, Writable {
return interactiveTimeout;
}
public int getWaitTimeout() {
return waitTimeout;
}
public int getNetWriteTimeout() {
return netWriteTimeout;
}