int HugoOperations::setValues(NdbOperation* pOp, int rowId, int updateId) { // Define primary keys if (equalForRow(pOp, rowId) != 0) return NDBT_FAILED; if (setNonPkValues(pOp, rowId, updateId) != 0) return NDBT_FAILED; return NDBT_OK; }
int HugoOperations::setValues(NdbOperation* pOp, int rowId, int updateId) { // Define primary keys if (equalForRow(pOp, rowId) != 0) { g_err << __LINE__ << " equal for row failed" << endl; return NDBT_FAILED; } if (setNonPkValues(pOp, rowId, updateId) != 0) { g_err << __LINE__ << " setNonPkValues failed" << endl; return NDBT_FAILED; } return NDBT_OK; }