bugfix: enable or expansion when updating global index
This commit is contained in:
		| @ -563,8 +563,7 @@ int ObDelUpdStmt::update_base_tid_cid() | ||||
|  | ||||
|         if (OB_SUCC(ret) && dml_table->loc_table_id_ != base_tid) { | ||||
|           for (int64_t k = 0; OB_SUCC(ret) && k < part_expr_items_.count(); ++k) { | ||||
|             if (part_expr_items_.at(k).table_id_ == dml_table->loc_table_id_ && | ||||
|                 part_expr_items_.at(k).index_tid_ == dml_table->ref_table_id_) { | ||||
|             if (part_expr_items_.at(k).table_id_ == dml_table->loc_table_id_) { | ||||
|               part_expr_items_.at(k).table_id_ = base_tid; | ||||
|             } | ||||
|           } | ||||
|  | ||||
| @ -434,7 +434,6 @@ int ObTransformerImpl::choose_rewrite_rules(ObDMLStmt *stmt, uint64_t &need_type | ||||
|       ObTransformRule::add_trans_type(disable_list, GROUPBY_PULLUP); | ||||
|     } | ||||
|     if (func.update_global_index_) { | ||||
|       ObTransformRule::add_trans_type(disable_list, OR_EXPANSION); | ||||
|       ObTransformRule::add_trans_type(disable_list, WIN_MAGIC); | ||||
|     } | ||||
|     if (func.contain_link_table_) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 dontknow9179
					dontknow9179