forked from huawei/openGauss-server
fix bug in audit synonym cannot be enable alone
This commit is contained in:
parent
470d6d3175
commit
94139d8801
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue