Fix typos in reorderbuffer.c

Поиск
Список
Период
Сортировка
Искать
От
Amit Kapila
Тема
Fix typos in reorderbuffer.c
Дата
Msg-id
CAA4eK1K6zTpuqf_d7wXCBjo_EF0_B6Fz3Ecp71Vq18t=wG-nzg@mail.gmail.com
Список
Дерево обсуждения
Fix typos in reorderbuffer.c Amit Kapila <amit.kapila16@gmail.com>
Re: Fix typos in reorderbuffer.c Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
Re: Fix typos in reorderbuffer.c Amit Kapila <amit.kapila16@gmail.com>
@@ -1432,7 +1432,7 @@ ReorderBufferCleanupTXN(ReorderBuffer *rb,
ReorderBufferTXN *txn)
  ReorderBufferCleanupTXN(rb, subtxn);
  }

- /* cleanup changes in the toplevel txn */
+ /* cleanup changes in the txn */
  dlist_foreach_modify(iter, &txn->changes)
  {
  ReorderBufferChange *change;
@@ -1533,7 +1533,7 @@ ReorderBufferTruncateTXN(ReorderBuffer *rb,
ReorderBufferTXN *txn)
  ReorderBufferTruncateTXN(rb, subtxn);
  }

- /* cleanup changes in the toplevel txn */
+ /* cleanup changes in the txn */
  dlist_foreach_modify(iter, &txn->changes)
  {
  ReorderBufferChange *change;

Both the above functions are recursive and will clean the changes for
both the top-level transaction and subtransactions. So, I feel the
comments should be accordingly updated.

-- 
With Regards,
Amit Kapila.
В списке pgsql-hackers по дате отправления
От: Keisuke Kuroda
Дата:
От: Dilip Kumar
Дата:
FAQ