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

param 'txn' not used in function maybe_send_schema()

From
"houzj.fnst@fujitsu.com"
Date:
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


Attachment

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

From
Fujii Masao
Date:

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()

From
Fujii Masao
Date:

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