Routine parameter names displayed by dblook are not escaped.
------------------------------------------------------------

                 Key: DERBY-1963
                 URL: http://issues.apache.org/jira/browse/DERBY-1963
             Project: Derby
          Issue Type: Bug
          Components: Tools
            Reporter: Daniel John Debrunner
            Priority: Minor
             Fix For: 10.3.0.0


After using this SQL to create a function with a delimited parameter name

CREATE FUNCTION FRED ("paramOne" INTEGER) RETURNS INTEGER
LANGUAGE JAVA PARAMETER STYLE JAVA 
EXTERNAL NAME 'fred.foo' 

dblook will output a CREATE FUNCTION statement with the parameter name without 
quotes:

CREATE FUNCTION "APP"."FRED" (paramOne INTEGER) RETURNS INTEGER
LANGUAGE JAVA PARAMETER STYLE JAVA
READS SQL DATA CALLED ON NULL INPUT
EXTERNAL NAME 'fred.foo';

Using the output from dblook to re-create the function will result in a 
function with a different parameter name.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to