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

[patch] bad allocation guard in ResultSet#resetUpdatedColumnsForInsert

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.7.1.1
    • 10.8.1.2
    • Network Client
    • None
    • Normal

    Description

      code checks to see if an array is not null, and if so allocates the array. This is backwards. Should check to see if the array is null.

      Attachments

        1. bad_allocation_guard.diff
          0.6 kB
          Dave Brosius
        2. no-alloc.diff
          0.9 kB
          Knut Anders Hatlen

        Activity

          People

            dbrosius David Brosius
            dbrosius@apache.org Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified