Skip to content

Commit 96ab17d

Browse files
Debug logs
1 parent 5741799 commit 96ab17d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

dmlproc/dmlprocessor.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,10 @@ void DMLProcessor::operator()()
14021402
messageqcpp::ByteStream::byte status = 255;
14031403
messageqcpp::ByteStream::octbyte rowCount = 0;
14041404

1405-
if (fDbrm->getSystemState(stateFlags) >
1405+
int rr = fDbrm->getSystemState(stateFlags);
1406+
idblog("called from DMLProcessor::operator(), returned " << rr);
1407+
1408+
if (rr >
14061409
0) // > 0 implies succesful retrieval. It doesn't imply anything about the contents
14071410
{
14081411
messageqcpp::ByteStream results;

versioning/BRM/dbrm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3479,6 +3479,7 @@ int DBRM::getSystemReady() throw()
34793479
{
34803480
uint32_t stateFlags;
34813481

3482+
idblog("calling from getSystemReday");
34823483
if (getSystemState(stateFlags) < 0)
34833484
{
34843485
return -1;
@@ -3491,6 +3492,7 @@ int DBRM::getSystemQueryReady() throw()
34913492
{
34923493
uint32_t stateFlags;
34933494

3495+
idblog("calling from getSystemQueryReday");
34943496
if (getSystemState(stateFlags) < 0)
34953497
{
34963498
return -1;

versioning/BRM/masterdbrmnode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,7 @@ void MasterDBRMNode::doGetSystemState(ByteStream& /*msg*/, ThreadParams* p)
19611961

19621962
try
19631963
{
1964+
idblog("calling from doGetSystemState()");
19641965
sm.getSystemState(ss);
19651966
err = ERR_OK;
19661967
reply << err;

0 commit comments

Comments
 (0)