[4.1] support distributed txn free route
This commit is contained in:
@ -2155,6 +2155,9 @@ int ObSetTPResolver::resolve(const ParseNode &parse_tree)
|
||||
stmt->get_rpc_arg().error_code_ = value->value_;
|
||||
}
|
||||
} break;
|
||||
case T_TP_COND: { // condition
|
||||
stmt->get_rpc_arg().cond_ = value->value_;
|
||||
} break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@ -55,6 +55,7 @@ public:
|
||||
const ObPrivSet& get_db_priv_set() const { return db_priv_set_; }
|
||||
void set_db_priv_set(const ObPrivSet &db_priv_set) { db_priv_set_ = db_priv_set; }
|
||||
virtual obrpc::ObDDLArg &get_ddl_arg() { return use_database_arg_; }
|
||||
virtual bool cause_implicit_commit() const { return false; }
|
||||
private:
|
||||
int64_t db_id_;
|
||||
common::ObString db_name_;
|
||||
|
||||
Reference in New Issue
Block a user