Bug #10205 Cannot execute procedure
Submitted: 27 Apr 2005 15:04 Modified: 28 Apr 2005 12:33
Reporter: pontieux benoit Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:5.0.4-beta-nt OS:Windows (Windows XP SP2)
Assigned to: CPU Architecture:Any

[27 Apr 2005 15:04] pontieux benoit
Description:
When using the "CREATE PROCEDURE" functionality, the DELIMITER are set to //, but when executing the procedure, an errors occurs.
It is the same problem for the functionality "edit all procedure".

Thank you.

How to repeat:
Choose a schema,
Right click on mouse : "Create a procedure"
Set a name
fill the proc body

Ex : 
DELIMITER \\

DROP PROCEDURE IF EXISTS `test`.`blabla`\\
CREATE PROCEDURE `test`.`blabla` ()
BEGIN
  INSERT INTO test.type_personne
  (libelle)
  values(p_lib);
END\\

DELIMITER ;

and click EXECUTE
[28 Apr 2005 12:33] Michael G. Zinner
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html