patch 4.0
This commit is contained in:
@ -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 */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user