You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4675 DMLProc now automatically and gracefully shutdowns when a cluster state is set to
SS_SHUTDOWN_PENDING | SS_ROLLBACK
This commit is contained in:
committed by
Leonid Fedorov
parent
646ffb6f95
commit
90397dfed0
@ -42,6 +42,7 @@
|
||||
#include "socket.h"
|
||||
#include "socketparms.h"
|
||||
#include "bytestream.h"
|
||||
#include "checks.h"
|
||||
|
||||
class MessageQTestSuite;
|
||||
|
||||
@ -198,6 +199,7 @@ public:
|
||||
|
||||
inline virtual bool isConnected() const;
|
||||
inline virtual bool hasData() const;
|
||||
inline bool hasSocketDescriptor() const;
|
||||
|
||||
friend class ::MessageQTestSuite;
|
||||
|
||||
@ -217,6 +219,12 @@ inline const sockaddr IOSocket::sa() const
|
||||
{
|
||||
return fSa;
|
||||
}
|
||||
|
||||
inline bool IOSocket::hasSocketDescriptor() const
|
||||
{
|
||||
return fSocket && utils::is_nonnegative(fSocket->socketParms().sd());
|
||||
}
|
||||
|
||||
inline void IOSocket::sa(const sockaddr* sa)
|
||||
{
|
||||
fSa = *sa;
|
||||
|
Reference in New Issue
Block a user