Commit 343f709c authored by Alvaro Herrera's avatar Alvaro Herrera

Fix typos

Backpatch to: 9.4
parent 57a6a72b
...@@ -75,8 +75,8 @@ typedef struct ReorderBufferChange ...@@ -75,8 +75,8 @@ typedef struct ReorderBufferChange
RepOriginId origin_id; RepOriginId origin_id;
/* /*
* Context data for the change, which part of the union is valid depends * Context data for the change. Which part of the union is valid depends
* on action/action_internal. * on action.
*/ */
union union
{ {
...@@ -242,7 +242,7 @@ typedef struct ReorderBufferTXN ...@@ -242,7 +242,7 @@ typedef struct ReorderBufferTXN
/* --- /* ---
* Position in one of three lists: * Position in one of three lists:
* * list of subtransactions if we are *known* to be subxact * * list of subtransactions if we are *known* to be subxact
* * list of toplevel xacts (can be am as-yet unknown subxact) * * list of toplevel xacts (can be an as-yet unknown subxact)
* * list of preallocated ReorderBufferTXNs * * list of preallocated ReorderBufferTXNs
* --- * ---
*/ */
...@@ -280,7 +280,7 @@ struct ReorderBuffer ...@@ -280,7 +280,7 @@ struct ReorderBuffer
/* /*
* Transactions that could be a toplevel xact, ordered by LSN of the first * Transactions that could be a toplevel xact, ordered by LSN of the first
* record bearing that xid.. * record bearing that xid.
*/ */
dlist_head toplevel_by_lsn; dlist_head toplevel_by_lsn;
...@@ -292,7 +292,7 @@ struct ReorderBuffer ...@@ -292,7 +292,7 @@ struct ReorderBuffer
ReorderBufferTXN *by_txn_last_txn; ReorderBufferTXN *by_txn_last_txn;
/* /*
* Callacks to be called when a transactions commits. * Callbacks to be called when a transactions commits.
*/ */
ReorderBufferBeginCB begin; ReorderBufferBeginCB begin;
ReorderBufferApplyChangeCB apply_change; ReorderBufferApplyChangeCB apply_change;
...@@ -315,7 +315,7 @@ struct ReorderBuffer ...@@ -315,7 +315,7 @@ struct ReorderBuffer
* overhead we cache some unused ones here. * overhead we cache some unused ones here.
* *
* The maximum number of cached entries is controlled by const variables * The maximum number of cached entries is controlled by const variables
* ontop of reorderbuffer.c * on top of reorderbuffer.c
*/ */
/* cached ReorderBufferTXNs */ /* cached ReorderBufferTXNs */
......
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