From 28824907a3a7f03a67e04ae14c2f330f767bb69d Mon Sep 17 00:00:00 2001 From: "songyichang.syc" Date: Mon, 8 Apr 2024 17:58:12 +0800 Subject: [PATCH] [postfix] Fix rds tde bug --- plugin/keyring_rds/keyring_rds_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/keyring_rds/keyring_rds_impl.cc b/plugin/keyring_rds/keyring_rds_impl.cc index e203b8f70b6..8978f3c77dd 100644 --- a/plugin/keyring_rds/keyring_rds_impl.cc +++ b/plugin/keyring_rds/keyring_rds_impl.cc @@ -111,7 +111,7 @@ class Key_imp : public Key_interface { size_t *key_len) override { if (!initialized) return true; - *key_type = NULL; // No key type return in this keyring plugin + *key_type = my_strdup(key_memory_KEYRING_rds, "rds-tde", MYF(MY_WME)); *key = NULL; // Assume that it will fail Lock_helper rdlock(&LOCK_keyring_rds, false);