Add a rule to force use das if has variable assignments in sql
This commit is contained in:
		| @ -1517,6 +1517,7 @@ int ObJoinOrder::will_use_das(const uint64_t table_id, | ||||
|                     get_plan()->get_optimizer_context().has_dblink() || | ||||
|                     get_plan()->get_optimizer_context().has_subquery_in_function_table() || | ||||
|                     get_plan()->get_optimizer_context().has_cursor_expression() || | ||||
|                     get_plan()->get_optimizer_context().has_var_assign() || | ||||
|                     is_batch_update_table; | ||||
|     if (EXTERNAL_TABLE == table_item->table_type_) { | ||||
|       create_das_path = false; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 obdev
					obdev