[PATCH] Remove dead code in ExecForPortionOfLeftovers()

Started by Aleksander Alekseev7 months ago3 messageshackers

Thread notes

1 note#refactor
hackorum-bot#refactor
hackorum-bot
2 days ago

@global #refactor

#refactor
Jump to latest
#1Aleksander Alekseev
aleksander@tigerdata.com

Hi,

While reading 8e72d914c528 I noticed that
ForPortionOfState.fp_leftoverstypcache is not used for anything. I
suggest removing it, as attached.

--
Best regards,
Aleksander Alekseev

Attachments:

t139404_1
v1-0001-Remove-unused-ForPortionOfState.fp_leftoverstypca.patchtext/x-patch; charset=US-ASCII; name=v1-0001-Remove-unused-ForPortionOfState.fp_leftoverstypca.patchDownload+0-15
#2Quan Zongliang
quanzongliang@yeah.net
In reply to: Aleksander Alekseev (#1)
Re: [PATCH] Remove dead code in ExecForPortionOfLeftovers()

On 4/21/26 8:22 PM, Aleksander Alekseev wrote:

Hi,

While reading 8e72d914c528 I noticed that
ForPortionOfState.fp_leftoverstypcache is not used for anything. I
suggest removing it, as attached.

Agree.
It indeed did not make any reference anywhere.

Quan Zongliang

#3jian he
jian.universality@gmail.com
In reply to: Quan Zongliang (#2)
Re: [PATCH] Remove dead code in ExecForPortionOfLeftovers()

On Wed, Apr 22, 2026 at 11:58 AM Quan Zongliang <quanzongliang@yeah.net> wrote:

On 4/21/26 8:22 PM, Aleksander Alekseev wrote:

Hi,

While reading 8e72d914c528 I noticed that
ForPortionOfState.fp_leftoverstypcache is not used for anything. I
suggest removing it, as attached.

Agree.
It indeed did not make any reference anywhere.

I raised this issue at [1]/messages/by-id/CACJufxHYntqy2fo9CFWDDrqKjcMK8DGRM3kse4YnXYnPYq2Hiw@mail.gmail.com.
But apparently, it's actually being used for fixing a bug at [2]/messages/by-id/CA+renyU5=mihx6O8+ERBmarZcuV1QiWB3X5bZhdptWoRM9G-Aw@mail.gmail.com.

[1]: /messages/by-id/CACJufxHYntqy2fo9CFWDDrqKjcMK8DGRM3kse4YnXYnPYq2Hiw@mail.gmail.com
[2]: /messages/by-id/CA+renyU5=mihx6O8+ERBmarZcuV1QiWB3X5bZhdptWoRM9G-Aw@mail.gmail.com