1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-10 01:22:48 +03:00

On every node change adjust dbroots in the read-only nodes

This commit is contained in:
Alexander Presnyakov
2025-04-25 04:26:13 +00:00
committed by Serguey Zefirov
parent 51a33f45aa
commit 448b064fef
8 changed files with 168 additions and 49 deletions

View File

@@ -283,6 +283,24 @@ class ProtocolError : public std::logic_error
} \
} while (0)
#define idblog(x) \
do \
{ \
{ \
std::ostringstream os; \
\
os << __FILE__ << "@" << __LINE__ << ": \'" << x << "\'"; \
std::cerr << os.str() << std::endl; \
logging::MessageLog logger((logging::LoggingID())); \
logging::Message message; \
logging::Message::Args args; \
\
args.add(os.str()); \
message.format(args); \
logger.logErrorMessage(message); \
} \
} while (0)
#define idbassert_s(x, s) \
do \
{ \