Derby
  1. Derby
  2. DERBY-2663

derbyall/derbytools/ij2 fails in derbyall run in the J2ME environment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.1.4
    • Component/s: Test
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Regression Test Failure

      Description

      derby all failed on a trunk build at level: 538785

      Test passed on previous day's run. Checkin's included in this test run include the following:

      SUBVERSION LOG FROM 538396 TO 538785:

      Subversion changes 538413 to 538770 by bpendleton, dag, kahatlen, Mamta, Myrna

          • Start: ij2 jdkJ2ME Foundation Specification v1.1 derbyall:derbytools 2007-05-17 04:54:25 ***
            93a94,112
            > ij> – DERBY-2558: Verify that we get a reasonable message when the 'dimension'
            > – of the 'using-set' does not match the 'dimension' of the prepared statement:
            > create table t2558 (i int);
            > 0 rows inserted/updated/deleted
            > ij> insert into t2558 values (3), (4);
            > 2 rows inserted/updated/deleted
            > ij> – First two statements below should fail. Third one should work.
            > execute 'select * from t2558 where i = ?' using 'values (3,4)';
            > IJ WARNING: Autocommit may close using result set
            > ERROR XCL13: The parameter position '2' is out of range. The number of parameters for this prepared statement is '1'.
            > ij> execute 'select * from t2558 where i in (?,?,?)' using 'values (3,4)';
            > IJ WARNING: Autocommit may close using result set
            > ERROR 07000: At least one parameter to the current statement is uninitialized.
            > ij> execute 'select * from t2558 where i = ? or i = ?' using 'values (3,4)';
            > IJ WARNING: Autocommit may close using result set
            > I
            > -----------
            > 3
            > 4
            Test Failed.

        Activity

        Mike Matrigali created issue -
        Mike Matrigali made changes -
        Field Original Value New Value
        Assignee Mike Matrigali [ mikem ]
        Hide
        Mike Matrigali added a comment -

        Fixed by following checkin. Just needed new j9 specific master:

        m2_ibm15:40>svn commit

        Sending java\testing\org\apache\derbyTesting\functionTests\master\j9_foundation\ij2.out
        Transmitting file data .
        Committed revision 539561.

        Show
        Mike Matrigali added a comment - Fixed by following checkin. Just needed new j9 specific master: m2_ibm15:40>svn commit Sending java\testing\org\apache\derbyTesting\functionTests\master\j9_foundation\ij2.out Transmitting file data . Committed revision 539561.
        Mike Matrigali made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 10.3.0.0 [ 12310800 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Myrna van Lunteren made changes -
        Component/s Test [ 11413 ]
        Dag H. Wanvik made changes -
        Derby Categories [Regression Test Failure]
        Dag H. Wanvik made changes -
        Component/s Regression Test Failure [ 12310664 ]
        Hide
        Kristian Waagan added a comment -

        Closing issue.

        Show
        Kristian Waagan added a comment - Closing issue.
        Kristian Waagan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mike Matrigali [ mikem ] C.S. Nirmal J. Fernando [ nirmal ]
        Gavin made changes -
        Workflow jira [ 12404219 ] Default workflow, editable Closed status [ 12799659 ]

          People

          • Assignee:
            Nirmal Fernando
            Reporter:
            Mike Matrigali
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development