EDG_WLL_QUERY_ATTR_PARENT, /**< Job was resubmitted */
EDG_WLL_QUERY_ATTR_EXITCODE, /**< Unix exit code */
EDG_WLL_QUERY_ATTR_JDL_ATTR, /**< Arbitrary JDL attribute */
+ EDG_WLL_QUERY_ATTR_STATEENTERTIME, /**< When entered current status */
EDG_WLL_QUERY_ATTR_LASTUPDATETIME, /**< Time of the last known event of the job */
EDG_WLL_QUERY_ATTR__LAST
/* if adding new attribute, add conversion string to common/xml_conversions.c too !! */
return "varchar(255) binary null";
case EDG_WLL_QUERY_ATTR_TIME:
+ case EDG_WLL_QUERY_ATTR_STATEENTERTIME:
case EDG_WLL_QUERY_ATTR_LASTUPDATETIME:
return "datetime null";
default:
case EDG_WLL_QUERY_ATTR_RESUBMITTED:
asprintf(&data, "%d", stat->pub.resubmitted);
break;
+ case EDG_WLL_QUERY_ATTR_STATEENTERTIME:
+ data = strdup(edg_wll_TimeToDB(stat->pub.stateEnterTime.tv_sec));
+ break;
case EDG_WLL_QUERY_ATTR_LASTUPDATETIME:
data = strdup(edg_wll_TimeToDB(stat->pub.lastUpdateTime.tv_sec));
break;