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

ij doesn't understand bracketed comments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • SQL, Tools
    • None

    Description

      When I execute this sql script in ij

      ------
      create table t (x int);
      /*
      insert into t values 1, 2, 3;
      insert into t values 4, 5, 6;
      */
      ------

      the first INSERT statement in the comment is correctly ignored, but the second one is executed. So after running the script, table T contains these rows:

      ij> select * from t;
      X
      -----------
      4
      5
      6

      3 rows selected

      Attachments

        1. comment.sql
          0.1 kB
          Knut Anders Hatlen
        2. comment2.sql
          0.1 kB
          Knut Anders Hatlen
        3. comment3.sql
          0.1 kB
          Knut Anders Hatlen
        4. Derby-3241-v2.txt
          6 kB
          James F. Adams
        5. Derby-3242.txt
          4 kB
          James F. Adams
        6. Derby3242-v3.txt
          6 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: