Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2731

Need to repeat realloc in vectors until there is sufficient space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      When calling setSafe() on a valuevector, we check that the vectors capacity is sufficient to hold the new value, and it is not, we call reAlloc(). However, it is possible that there is still insufficient space after this. The call to reAlloc() should be repeated until there is sufficient space.

      Attachments

        1. DRILL-2731.patch
          8 kB
          Steven Phillips

        Issue Links

          Activity

            People

              sphillips Steven Phillips
              sphillips Steven Phillips
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: