Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](function) Hide secret key for aes_decrypt/encrypt in result hea…
…der (#39969) Fix the case: The secret key is being shown beside '***' in result header ``` MySQL [lambxu]> set experimental_enable_nereids_planner = false; Query OK, 0 rows affected (0.01 sec) MySQL [lambxu]> SELECT aes_decrypt( from_base64("EXp7k7M9Zv1mIwPpno28Hg=="), '17IMZrGdwWf2Piy8', 'II2HLtihr5TQpQgR' , 'AES_128_CBC'); +------------------------------------------------------------------------------------------------------------------+ | aes_decrypt(from_base64('EXp7k7M9Zv1mIwPpno28Hg=='), '***''17IMZrGdwWf2Piy8', 'II2HLtihr5TQpQgR', 'AES_128_CBC') | +------------------------------------------------------------------------------------------------------------------+ | 17777208882 | +------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec) ```
- Loading branch information