My favorites | Sign in
Project Home Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3255: procedure/function window freezes with funny parameter names
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jun 2013


Sign in to add a comment
 
Reported by charlret...@gmail.com, Jun 27, 2013
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)
Jun 27, 2013
Project Member #1 a...@anse.de
This issue was closed by revision r4445.
Status: Fixed
Jun 27, 2013
Project Member #2 a...@anse.de
Done. Brackets in quoted identifiers don't confuse the routine parser any longer in r4445.
Labels: Severity-Broken
Sign in to add a comment

Powered by Google Project Hosting