fix build rowkey_doc joined table redundantly

This commit is contained in:
JinmaoLi
2024-05-07 02:46:31 +00:00
committed by ob-robot
parent 5eee31b32b
commit 55ea51ecfe
7 changed files with 48 additions and 35 deletions

View File

@ -10141,7 +10141,7 @@ int ObTransformPreProcess::disable_complex_dml_for_fulltext_index(ObDMLStmt *stm
TableItem* table = NULL;
if (OB_FAIL(del_upd_stmt->get_dml_table_infos(table_infos))) {
LOG_WARN("failed to get dml table infos", K(ret));
} else if (table_infos.count() == 1) {
} else if (table_infos.count() == 1 && del_upd_stmt->get_from_item_size() == 1) {
if (OB_ISNULL(table_infos.at(0))) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("unexpected null", K(ret));