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

ResultSet#updateBigDecimal on a REAL column does not do underflow checking

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0, 10.6.2.1, 10.7.1.1, 10.8.1.2, 10.8.2.2, 10.8.3.0, 10.9.1.0
    • 10.9.2.2, 10.10.1.1
    • JDBC
    • Normal
    • Repro attached
    • Data corruption

    Description

      In contrast, ResultSet#updateBigDecimal on a FLOAT or DOUBLE column gives the expected error on underflow. Cf. the attached repro program MissingUnderflowCheck.

      Attachments

        1. MissingUnderflowCheck.java
          2 kB
          Dag H. Wanvik
        2. derby-5546.diff
          6 kB
          Dag H. Wanvik
        3. derby-5546.stat
          0.2 kB
          Dag H. Wanvik
        4. derby-5546-2.diff
          5 kB
          Dag H. Wanvik
        5. derby-5546-2.stat
          0.2 kB
          Dag H. Wanvik
        6. releaseNote.html
          4 kB
          Dag H. Wanvik

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              dagw Dag H. Wanvik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: