Re: Stored functions and prepared statements
Posted by: Peter Brawley
Date: January 24, 2011 12:30PM

SET GLOBAL log_bin_trust_function_creators=1;
delimiter go
drop function if exists f;
create function f() returns int return 1;
go
delimiter ;
prepare stmt from "select f()";
execute stmt;
+------+
| f()  |
+------+
|    1 |
+------+
drop prepare stmt;

So the problem can't be with executing funcs from prepared stmts.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Stored functions and prepared statements
386
January 24, 2011 12:30PM


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.