本文整理汇总了C++中NdbTransaction::receiveTCRELEASEREF方法的典型用法代码示例。如果您正苦于以下问题:C++ NdbTransaction::receiveTCRELEASEREF方法的具体用法?C++ NdbTransaction::receiveTCRELEASEREF怎么用?C++ NdbTransaction::receiveTCRELEASEREF使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NdbTransaction
的用法示例。
在下文中一共展示了NdbTransaction::receiveTCRELEASEREF方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: handleReceivedSignal
//.........这里部分代码省略.........
}//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:
case GSN_CREATE_INDX_CONF:
case GSN_CREATE_INDX_REF:
case GSN_DROP_INDX_CONF:
case GSN_DROP_INDX_REF:
case GSN_INDEX_STAT_CONF:
case GSN_INDEX_STAT_REF:
case GSN_CREATE_EVNT_CONF:
case GSN_CREATE_EVNT_REF:
case GSN_DROP_EVNT_CONF:
case GSN_DROP_EVNT_REF:
case GSN_LIST_TABLES_CONF:
case GSN_CREATE_FILE_REF:
case GSN_CREATE_FILE_CONF:
case GSN_CREATE_FILEGROUP_REF:
case GSN_CREATE_FILEGROUP_CONF:
case GSN_DROP_FILE_REF:
case GSN_DROP_FILE_CONF:
case GSN_DROP_FILEGROUP_REF: