Files
oceanbase/tools/obcdc/src/ob_log_trace_id.cpp
2022-03-25 18:10:38 +08:00

28 lines
743 B
C++

/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "lib/net/ob_addr.h"
#include "lib/profile/ob_trace_id.h"
namespace oceanbase
{
namespace liboblog
{
common::ObAddr& get_self_addr()
{
static common::ObAddr s_self_addr;
return s_self_addr;
}
}
}