bug fix: db_id displayed by SQL audit and plan stat is inconsistent.
This commit is contained in:
		| @ -2511,7 +2511,7 @@ OB_INLINE int ObSql::handle_text_query(const ObString &stmt, ObSqlCtx &context, | ||||
|       LOG_WARN("Failed to get database id", K(ret)); | ||||
|     } else if (FALSE_IT(context.spm_ctx_.bl_key_.db_id_ = | ||||
|                                   (database_id == OB_INVALID_ID) ? | ||||
|                                       OB_OUTLINE_DEFAULT_DATABASE_ID: | ||||
|                                       OB_MOCK_DEFAULT_DATABASE_ID: | ||||
|                                       database_id)) { | ||||
|       // do nothing | ||||
|     } else if (!use_plan_cache) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 GongYusen
					GongYusen