Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1963

Routine parameter names displayed by dblook are not escaped.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.3.1.4
    • 10.7.1.1
    • Tools
    • None
    • Normal
    • 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.

      Attachments

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

        Activity

          People

            knutanders Knut Anders Hatlen
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: