Derby
  1. Derby
  2. DERBY-1963

Routine parameter names displayed by dblook are not escaped.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.7.1.1
    • Component/s: Tools
    • Labels:
      None
    • Urgency:
      Normal
    • Issue & fix info:
      Newcomer

      Description

      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.

      1. d1963.diff
        13 kB
        Knut Anders Hatlen
      2. d1963-2.diff
        41 kB
        Knut Anders Hatlen

        Activity

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development