MySQL Forums
Forum List  »  UDF

Re: Failed to close tables in UDF functions in MySQL 5.6
Posted by: logesh waran
Date: January 04, 2014 02:17AM

UDFs should have at least one symbol defined in addition to the xxx symbol that corresponds to the main xxx() function. These auxiliary symbols correspond to the xxx_init(), xxx_deinit(), xxx_reset(), xxx_clear(), and xxx_add() functions. mysqld also supports an --allow-suspicious-udfs option that controls whether UDFs that have only an xxx symbol can be loaded. By default, the option is off, to prevent attempts at loading functions from shared object files other than those containing legitimate UDFs. If you have older UDFs that contain only the xxx symbol and that cannot be recompiled to include an auxiliary symbol, it may be necessary to specify the --allow-suspicious-udfs option. Otherwise, you should avoid enabling this capability.

Website Designing Firm | Ithaca Web Design | Search Engine Optimization Ithaca

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Failed to close tables in UDF functions in MySQL 5.6
1688
January 04, 2014 02:17AM


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.