• Heikki Linnakangas's avatar
    In the final emptying phase of the new GiST buffering build, set the · 8caf6132
    Heikki Linnakangas authored
    queuedForEmptying flag correctly on buffer when adding it to the queue.
    Also, don't add buffer to the queue if it's there already. These were
    harmless oversights; failing to set the flag just means that a buffer might
    get added to the queue twice if more tuples are added to it (although that
    can't actually happen at this point because all the upper buffers have
    already been emptied), and having the same buffer twice in the emptying
    queue is harmless. But better be tidy.
    8caf6132
gistbuild.c 31.3 KB