forked from huawei/openGauss-server
fix histort command
Offering: openGaussDev More detail: fix history command Match-id-47f0ca1ca39932e17bc82af8b09bed256c7a331c
This commit is contained in:
parent
877fbfeb52
commit
c5cb95d2ec
|
@ -244,7 +244,8 @@ bool SensitiveStrCheck(const char* target)
|
|||
|
||||
if (strstr(target_copy, "PASSWORD") != NULL || strstr(target_copy, "IDENTIFIED") != NULL ||
|
||||
strstr(target_copy, "GS_ENCRYPT_AES128") != NULL || strstr(target_copy, "GS_DECRYPT_AES128") != NULL ||
|
||||
strstr(target_copy, "GS_ENCRYPT") != NULL || strstr(target_copy, "GS_DECRYPT") != NULL) {
|
||||
strstr(target_copy, "GS_ENCRYPT") != NULL || strstr(target_copy, "GS_DECRYPT") != NULL ||
|
||||
strstr(target_copy, "PG_CREATE_PHYSICAL_REPLICATION_SLOT_EXTERN") != NULL) {
|
||||
free(target_copy);
|
||||
return TRUE;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue