Commit 322548a8 authored by Alvaro Herrera's avatar Alvaro Herrera

Update obsolete comments

Commit 9fab40ad removed some pre-allocating logic in
reorderbuffer.c, but left outdated comments in place.  Repair.

Author: Álvaro Herrera
parent 1d4e5edc
...@@ -322,9 +322,6 @@ ReorderBufferGetTXN(ReorderBuffer *rb) ...@@ -322,9 +322,6 @@ ReorderBufferGetTXN(ReorderBuffer *rb)
/* /*
* Free a ReorderBufferTXN. * Free a ReorderBufferTXN.
*
* Deallocation might be delayed for efficiency purposes, for details check
* the comments above max_cached_changes's definition.
*/ */
static void static void
ReorderBufferReturnTXN(ReorderBuffer *rb, ReorderBufferTXN *txn) ReorderBufferReturnTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
...@@ -354,7 +351,7 @@ ReorderBufferReturnTXN(ReorderBuffer *rb, ReorderBufferTXN *txn) ...@@ -354,7 +351,7 @@ ReorderBufferReturnTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
} }
/* /*
* Get an unused, possibly preallocated, ReorderBufferChange. * Get an fresh ReorderBufferChange.
*/ */
ReorderBufferChange * ReorderBufferChange *
ReorderBufferGetChange(ReorderBuffer *rb) ReorderBufferGetChange(ReorderBuffer *rb)
...@@ -370,9 +367,6 @@ ReorderBufferGetChange(ReorderBuffer *rb) ...@@ -370,9 +367,6 @@ ReorderBufferGetChange(ReorderBuffer *rb)
/* /*
* Free an ReorderBufferChange. * Free an ReorderBufferChange.
*
* Deallocation might be delayed for efficiency purposes, for details check
* the comments above max_cached_changes's definition.
*/ */
void void
ReorderBufferReturnChange(ReorderBuffer *rb, ReorderBufferChange *change) ReorderBufferReturnChange(ReorderBuffer *rb, ReorderBufferChange *change)
...@@ -423,8 +417,8 @@ ReorderBufferReturnChange(ReorderBuffer *rb, ReorderBufferChange *change) ...@@ -423,8 +417,8 @@ ReorderBufferReturnChange(ReorderBuffer *rb, ReorderBufferChange *change)
} }
/* /*
* Get an unused, possibly preallocated, ReorderBufferTupleBuf fitting at * Get a fresh ReorderBufferTupleBuf fitting at least a tuple of size
* least a tuple of size tuple_len (excluding header overhead). * tuple_len (excluding header overhead).
*/ */
ReorderBufferTupleBuf * ReorderBufferTupleBuf *
ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len) ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
...@@ -446,9 +440,6 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len) ...@@ -446,9 +440,6 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
/* /*
* Free an ReorderBufferTupleBuf. * Free an ReorderBufferTupleBuf.
*
* Deallocation might be delayed for efficiency purposes, for details check
* the comments above max_cached_changes's definition.
*/ */
void void
ReorderBufferReturnTupleBuf(ReorderBuffer *rb, ReorderBufferTupleBuf *tuple) ReorderBufferReturnTupleBuf(ReorderBuffer *rb, ReorderBufferTupleBuf *tuple)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment