fix mysqltest
This commit is contained in:
@ -117,7 +117,7 @@ int ObDMLService::check_column_type(const ExprFixedArray &dml_row,
|
|||||||
if (OB_FAIL(ObTextStringHelper::read_real_string_data(tmp_allocator, *datum,
|
if (OB_FAIL(ObTextStringHelper::read_real_string_data(tmp_allocator, *datum,
|
||||||
expr->datum_meta_, expr->obj_meta_.has_lob_header(), wkb))) {
|
expr->datum_meta_, expr->obj_meta_.has_lob_header(), wkb))) {
|
||||||
LOG_WARN("fail to get real string data", K(ret), K(wkb));
|
LOG_WARN("fail to get real string data", K(ret), K(wkb));
|
||||||
} else if (ObGeoTypeUtil::check_geo_type(column_geo_type, wkb)) {
|
} else if (OB_FAIL(ObGeoTypeUtil::check_geo_type(column_geo_type, wkb))) {
|
||||||
LOG_WARN("check geo type failed", K(ret), K(wkb));
|
LOG_WARN("check geo type failed", K(ret), K(wkb));
|
||||||
ret = OB_ERR_CANT_CREATE_GEOMETRY_OBJECT;
|
ret = OB_ERR_CANT_CREATE_GEOMETRY_OBJECT;
|
||||||
LOG_USER_ERROR(OB_ERR_CANT_CREATE_GEOMETRY_OBJECT);
|
LOG_USER_ERROR(OB_ERR_CANT_CREATE_GEOMETRY_OBJECT);
|
||||||
|
|||||||
@ -166,6 +166,8 @@ void PxWorkerFunctor::operator ()()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
THIS_WORKER.set_group_id(env_arg_.get_group_id());
|
THIS_WORKER.set_group_id(env_arg_.get_group_id());
|
||||||
|
// When deserialize expr, sql mode will affect basic function of expr.
|
||||||
|
CompatModeGuard mode_guard(env_arg_.is_oracle_mode() ? Worker::CompatMode::ORACLE : Worker::CompatMode::MYSQL);
|
||||||
MTL_SWITCH(sqc_handler->get_tenant_id()) {
|
MTL_SWITCH(sqc_handler->get_tenant_id()) {
|
||||||
CREATE_WITH_TEMP_ENTITY(RESOURCE_OWNER, sqc_handler->get_tenant_id()) {
|
CREATE_WITH_TEMP_ENTITY(RESOURCE_OWNER, sqc_handler->get_tenant_id()) {
|
||||||
if (OB_FAIL(ROOT_CONTEXT->CREATE_CONTEXT(mem_context,
|
if (OB_FAIL(ROOT_CONTEXT->CREATE_CONTEXT(mem_context,
|
||||||
|
|||||||
@ -175,7 +175,8 @@ public:
|
|||||||
K_(is_primary_index),
|
K_(is_primary_index),
|
||||||
K_(ck_cst_exprs),
|
K_(ck_cst_exprs),
|
||||||
K_(is_update_unique_key),
|
K_(is_update_unique_key),
|
||||||
K_(is_update_part_key));
|
K_(is_update_part_key),
|
||||||
|
K_(assignments));
|
||||||
};
|
};
|
||||||
|
|
||||||
class ObDelUpdLogPlan;
|
class ObDelUpdLogPlan;
|
||||||
|
|||||||
Reference in New Issue
Block a user