patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -12,15 +12,22 @@
#include "sql/executor/ob_task_location.h"
using namespace oceanbase::common;
namespace oceanbase {
namespace sql {
namespace oceanbase
{
namespace sql
{
ObTaskLocation::ObTaskLocation(const ObAddr& server, const ObTaskID& ob_task_id)
: server_(server), ob_task_id_(ob_task_id)
{}
ObTaskLocation::ObTaskLocation(const ObAddr &server, const ObTaskID &ob_task_id) :
server_(server),
ob_task_id_(ob_task_id)
{
}
ObTaskLocation::ObTaskLocation() : server_(), ob_task_id_()
{}
ObTaskLocation::ObTaskLocation() :
server_(),
ob_task_id_()
{
}
void ObTaskLocation::reset()
{
@ -28,7 +35,7 @@ void ObTaskLocation::reset()
ob_task_id_.reset();
}
ObTaskLocation& ObTaskLocation::operator=(const ObTaskLocation& task_location)
ObTaskLocation& ObTaskLocation::operator=(const ObTaskLocation &task_location)
{
server_ = task_location.server_;
ob_task_id_ = task_location.ob_task_id_;
@ -37,5 +44,9 @@ ObTaskLocation& ObTaskLocation::operator=(const ObTaskLocation& task_location)
OB_SERIALIZE_MEMBER(ObTaskLocation, server_, ob_task_id_)
} // namespace sql
} // namespace oceanbase
}/* ns sql*/
}/* ns oceanbase */