Bug #6318 multiple statements within prepared statement?
Submitted: 29 Oct 2004 10:09 Modified: 29 Oct 2004 10:46
Reporter: Glebov Stanislav Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:4.1.7 OS:FreeBSD (FreeBSD)
Assigned to: CPU Architecture:Any

[29 Oct 2004 10:09] Glebov Stanislav
Description:
prepare ... from "do @a:=10+10; set @b:=@a+20"
execute ...

How to repeat:
...
[29 Oct 2004 10:46] Konstantin Osipov
We will not add this feature in 4.1.
In 5.0 you can create a stored procedure and call it from a prepared statement.