MySQL Forums
Forum List  »  General

Re: Is there max. number of parameters of UDF?
Posted by: Georgi Kodinov
Date: November 28, 2019 03:47AM


I do not see any natural limitations to the number of arguments. I've briefly checked the code and it seems the argument arrays are all allocated dynamically based on the items passed down by the optimizer.

The only limitation that I see is from the fact the UDF_ARGS uses an "unsigned int" data type for the number of arguments.
But this is quite large on a 64 bit build.

Please file a bug with all of the details if you are seeing some limit.


Georgi "Joro" Kodinov
MySQL SrvGen team lead
Plovdiv, Bulgaria

Options: ReplyQuote

Written By
Re: Is there max. number of parameters of UDF?
November 28, 2019 03:47AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.