[FEAT MERGE] implement mysql dblink and read consistency

Co-authored-by: xianyu-w <707512433@qq.com>
Co-authored-by: sdc <njucssdc@gmail.com>
Co-authored-by: seuwebber <webber_code@163.com>
This commit is contained in:
cqliang1995
2023-05-09 18:32:03 +00:00
committed by ob-robot
parent 38b78ad442
commit 4108e781d4
132 changed files with 2726 additions and 818 deletions

View File

@ -181,7 +181,10 @@ int ObDelUpdLogPlan::generate_dblink_raw_plan()
int ret = OB_SUCCESS;
const ObDelUpdStmt *stmt = get_stmt();
ObLogicalOperator *top = NULL;
if (OB_ISNULL(stmt)) {
if (!lib::is_oracle_mode()) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("mysql dblink not support dml", K(ret));
} else if (OB_ISNULL(stmt)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("unexpected null ptr", K(ret));
} else if (OB_FAIL(allocate_link_dml_as_top(top))) {