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

EmbedBlob.setBytes returns incorrect insertion count

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.1.1
    • 10.4.2.1, 10.5.1.1
    • JDBC
    • None

    Description

      EmbedBlob.setBytes returns invalid insertion counts. According to the JavaDoc, it should return the number of bytes inserted. The current implementation seems to return the position in the Blob after the bytes have been written.

      Attachments

        1. BlobSetBytesTestRepro.diff
          4 kB
          Kristian Waagan
        2. derby-3871-1a_insertion_count.diff
          10 kB
          Kristian Waagan
        3. derby-3871-2a-loop_fix.diff
          0.8 kB
          Kristian Waagan

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: