This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

How remove mariadb built-in function?

Hello,

I want to know how remove or disable mariadb built-in function 'FROM_UNIXTIME'. Since it is a built-in function, we confirmed that it cannot be deleted with the drop function command.

I use mariadb 10.5.15 version. And the reason for requesting deletion of 'FROM_UNIXTIME' is because it is a function with a buffer overflow problem.

Below document is about buffer overflow issue. - https://jira.mariadb.org/browse/MDEV-26422

Please check. And thank you for your quick reply. Thank you.

Answer Answered by Ian Gilfillan in this comment.

The issue appears to have been fixed (MDEV-25317), so you could upgrade to a later version.

Short of recompiling yourself, I'm not aware of a way to remove a core function.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.