本文整理汇总了C++中NdbTransaction::receiveTCRELEASECONF方法的典型用法代码示例。如果您正苦于以下问题:C++ NdbTransaction::receiveTCRELEASECONF方法的具体用法?C++ NdbTransaction::receiveTCRELEASECONF怎么用?C++ NdbTransaction::receiveTCRELEASECONF使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NdbTransaction
的用法示例。
在下文中一共展示了NdbTransaction::receiveTCRELEASECONF方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: handleReceivedSignal
//.........这里部分代码省略.........
}
case GSN_TCSEIZEREF:
{
tFirstDataPtr = int2void(tFirstData);
if (tFirstDataPtr == 0) goto InvalidSignal;
if (tWaitState != WAIT_TC_SEIZE) {
return;
}//if
tCon = void2con(tFirstDataPtr);
if (tCon->checkMagicNumber() != 0) {
return;
}//if
tReturnCode = tCon->receiveTCSEIZEREF(aSignal);
if (tReturnCode != -1) {
tNewState = NO_WAIT;
} else {
return;
}//if
break;
}
case GSN_TCRELEASECONF:
{
tFirstDataPtr = int2void(tFirstData);
if (tFirstDataPtr == 0) goto InvalidSignal;
if (tWaitState != WAIT_TC_RELEASE) {
goto InvalidSignal;
}//if
tCon = void2con(tFirstDataPtr);
if (tCon->checkMagicNumber() != 0) {
goto InvalidSignal;
}//if
tReturnCode = tCon->receiveTCRELEASECONF(aSignal);
if (tReturnCode != -1) {
tNewState = NO_WAIT;
}//if
break;
}
case GSN_TCRELEASEREF:
{
tFirstDataPtr = int2void(tFirstData);
if (tFirstDataPtr == 0) goto InvalidSignal;
if (tWaitState != WAIT_TC_RELEASE) {
goto InvalidSignal;
}//if
tCon = void2con(tFirstDataPtr);
if (tCon->checkMagicNumber() != 0) {
goto InvalidSignal;
}//if
tReturnCode = tCon->receiveTCRELEASEREF(aSignal);
if (tReturnCode != -1) {
tNewState = NO_WAIT;
}//if
break;
}
case GSN_GET_TABINFOREF:
case GSN_GET_TABINFO_CONF:
case GSN_CREATE_TABLE_REF:
case GSN_CREATE_TABLE_CONF:
case GSN_DROP_TABLE_CONF:
case GSN_DROP_TABLE_REF:
case GSN_ALTER_TABLE_CONF:
case GSN_ALTER_TABLE_REF: