Обсуждение: param 'txn' not used in function maybe_send_schema()

Поиск
Список
Период
Сортировка

param 'txn' not used in function maybe_send_schema()

От
"houzj.fnst@fujitsu.com"
Дата:
Hi,

When reviewing logicalreplication related patches, I noticed the function
param ReorderBufferTXN *txn not used in the function maybe_send_schema(). Since
this is not an external function, I think it might be better to remove the unused paramater.

Best regards,
Houzj


Вложения

Re: param 'txn' not used in function maybe_send_schema()

От
Fujii Masao
Дата:

On 2021/07/30 22:27, houzj.fnst@fujitsu.com wrote:
> Hi,
> 
> When reviewing logicalreplication related patches, I noticed the function
> param ReorderBufferTXN *txn not used in the function maybe_send_schema(). Since
> this is not an external function, I think it might be better to remove the unused paramater.

+1

Seems commit 464824323e accidentally added the argument though
it's not used in maybe_send_schema(). I *guess* that it was used
in the patches in dev early stage, but it's changed so that no longer used
while it's being reviewed. But maybe we forgot to remove it.

Barring any objection, I will commit the patch.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



Re: param 'txn' not used in function maybe_send_schema()

От
Fujii Masao
Дата:

On 2021/07/31 10:08, Fujii Masao wrote:
> Barring any objection, I will commit the patch.

Pushed. Thanks!

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION