Menu

#3255 procedure/function window freezes with funny parameter names

Fixed
nobody
None
Broken
Defect
2013-06-27
2013-06-27
Anonymous
No

Originally created by: charlret...@gmail.com

Having an unclosed opening bracket in a parameter name breaks the procedure and function editors. Doing something like "`f(r)iend` VARCHAR(50)" for a parameter does work.

Looks like a problem with the parameter parsing. Could be related to issue #2208.

What exact steps will reproduce the problem?
1. create the following function

DELIMITER ;;
CREATE FUNCTION `getRandomNumber`( `:(` INT ) RETURNS INT
BEGIN
    RETURN 4;  #chosen by fair dice roll, guaranteed to be random
END;;

2. now open it in the function editor

What was the expected output?
Function editor should allow this function to be edited as any other function.

What happened instead?
function editor is frozen

Version used?
HeidiSQL revision: 8.0.0.4441
MySQL Server version: 5.5.28-0ubuntu0.12.10.1
Operating system: Ubuntu Linux 12.04 (using wine)

Related

Tickets: #2208

Discussion

  • Anonymous

    Anonymous - 2013-06-27

    Originally posted by: a...@anse.de

    Done. Brackets in quoted identifiers don't confuse the routine parser any longer in [r4445].

    Labels: Severity-Broken

     

    Related

    Commit: [r4445]