[4.1] support distributed txn free route

This commit is contained in:
chinaxing
2023-01-28 16:07:17 +08:00
committed by ob-robot
parent 1cdf1dff1c
commit 30d0adec61
89 changed files with 3978 additions and 518 deletions

View File

@ -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;
}

View File

@ -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_;