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