Re: Stored functions and prepared statements
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
Subject
Views
Written By
Posted
961
January 24, 2011 11:50AM
Re: Stored functions and prepared statements
360
January 24, 2011 12:30PM
647
January 24, 2011 01:42PM
364
January 24, 2011 02:59PM
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.