This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 566f6e3 [INLONG-2245] Supports database-level isolation of audit
queries (#2246)
566f6e3 is described below
commit 566f6e3ce9c4af11fd3a1cb2c9d4b157c8c9198d
Author: yunqingmoswu <[email protected]>
AuthorDate: Thu Jan 20 20:18:42 2022 +0800
[INLONG-2245] Supports database-level isolation of audit queries (#2246)
Co-authored-by: yunqingmo <[email protected]>
---
.../manager-dao/src/main/resources/mappers/AuditEntityMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/inlong-manager/manager-dao/src/main/resources/mappers/AuditEntityMapper.xml
b/inlong-manager/manager-dao/src/main/resources/mappers/AuditEntityMapper.xml
index d46612d..fe84bd6 100644
---
a/inlong-manager/manager-dao/src/main/resources/mappers/AuditEntityMapper.xml
+++
b/inlong-manager/manager-dao/src/main/resources/mappers/AuditEntityMapper.xml
@@ -42,7 +42,7 @@
<select id="sumByLogTs" resultMap="SumByLogTsResultMap">
select date_format(log_ts, #{format, jdbcType=VARCHAR}) as log_ts,
sum(`count`) as total
- from audit_data
+ from apache_inlong_audit.audit_data
where inlong_group_id = #{groupId,jdbcType=VARCHAR}
and inlong_stream_id = #{streamId,jdbcType=VARCHAR}
and audit_id = #{auditId,jdbcType=VARCHAR}