Comments - CREATE 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.
It says the
OR REPLACE
clause is a short-hand forDROP FUNCTION ... CREATE FUNCTION ...
, but in addition to being shorter,OR REPLACE
has another advantage, namely that it doesn't revoke any grants on the function. If youDROP
a function, it will automatically revoke the grants on it.