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

No syntax error when compiling statement with unterminated comment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • SQL
    • None

    Description

      Compiling a statement with an unterminated comment doesn't raise a syntax error.

      ij> prepare p as 'values 1 /* unterminated comment ';
      ij> execute p;
      1
      -----------
      1

      1 row selected

      Attachments

        1. Derby-3241.diff
          2 kB
          James F. Adams
        2. Derby-3241-2.diff
          2 kB
          James F. Adams

        Issue Links

          Activity

            People

              james.f.adams James F. Adams
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: