1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-14 11:01:50 +03:00

Debug logs

This commit is contained in:
Serguey Zefirov
2025-05-19 16:15:10 +03:00
parent 0afbca8a37
commit bbef995bb0
3 changed files with 7 additions and 1 deletions

View File

@@ -1402,7 +1402,10 @@ void DMLProcessor::operator()()
messageqcpp::ByteStream::byte status = 255; messageqcpp::ByteStream::byte status = 255;
messageqcpp::ByteStream::octbyte rowCount = 0; messageqcpp::ByteStream::octbyte rowCount = 0;
if (fDbrm->getSystemState(stateFlags) > int rr = fDbrm->getSystemState(stateFlags);
idblog("called from DMLProcessor::operator(), returned " << rr);
if (rr >
0) // > 0 implies succesful retrieval. It doesn't imply anything about the contents 0) // > 0 implies succesful retrieval. It doesn't imply anything about the contents
{ {
messageqcpp::ByteStream results; messageqcpp::ByteStream results;

View File

@@ -3479,6 +3479,7 @@ int DBRM::getSystemReady() throw()
{ {
uint32_t stateFlags; uint32_t stateFlags;
idblog("calling from getSystemReday");
if (getSystemState(stateFlags) < 0) if (getSystemState(stateFlags) < 0)
{ {
return -1; return -1;
@@ -3491,6 +3492,7 @@ int DBRM::getSystemQueryReady() throw()
{ {
uint32_t stateFlags; uint32_t stateFlags;
idblog("calling from getSystemQueryReday");
if (getSystemState(stateFlags) < 0) if (getSystemState(stateFlags) < 0)
{ {
return -1; return -1;

View File

@@ -1961,6 +1961,7 @@ void MasterDBRMNode::doGetSystemState(ByteStream& /*msg*/, ThreadParams* p)
try try
{ {
idblog("calling from doGetSystemState()");
sm.getSystemState(ss); sm.getSystemState(ss);
err = ERR_OK; err = ERR_OK;
reply << err; reply << err;