def METHOD_NAME(line):
    ser = REG_SQL_UUID.search(line)
    if not ser:
        return
    LAST_SQL_UUID = ser.group()
    if REG_SQL_WAKE.search(line):
        ADDAX_JOBDICT[LAST_SQL_UUID] = {
            'stat' : 'R',
            'wake' : parse_timestamp(line),
            'done' : UNIXTIME,
            'host' : parse_query_host(line),
            'path' : parse_query_table(line)
        }
    elif ((LAST_SQL_UUID in ADDAX_JOBDICT) and REG_SQL_DONE.search(line)):
        ADDAX_JOBDICT[LAST_SQL_UUID]['stat'] = 'D'
        ADDAX_JOBDICT[LAST_SQL_UUID]['done'] = parse_timestamp(line)