fix bug in audit synonym cannot be enable alone

This commit is contained in:
huangchengcheng 2020-08-20 18:19:57 +08:00
parent 470d6d3175
commit 94139d8801
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ static void pgaudit_ddl_synonym(const char* objectName, const char* cmdText)
AuditResult auditResult = AUDIT_OK;
Assert(cmdText);
if (!CHECK_AUDIT_DDL(DDL_TABLE)) {
if (!CHECK_AUDIT_DDL(DDL_SYNONYM)) {
return;
}