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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4
    • Test
    • None
    • 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.

      Attachments

        Activity

          People

            nirmal Nirmal Fernando
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: