Thread: [PATCH] Add a inline function to eliminate duplicate code

[PATCH] Add a inline function to eliminate duplicate code

From
Junwang Zhao
Date:
abstract the logic of `scankey change attribute num to index col
number` to change_sk_attno_to_index_column_num, which is a static
inline function.

-- 
Regards
Junwang Zhao

Attachment

Re: [PATCH] Add a inline function to eliminate duplicate code

From
mahendrakar s
Date:
Patch is looking good to me.

Thanks,
Mahendrakar.

On Tue, 2 Aug 2022 at 16:57, Junwang Zhao <zhjwpku@gmail.com> wrote:
abstract the logic of `scankey change attribute num to index col
number` to change_sk_attno_to_index_column_num, which is a static
inline function.

--
Regards
Junwang Zhao

Re: [PATCH] Add a inline function to eliminate duplicate code

From
Junwang Zhao
Date:
Any more reviews?

On Tue, Aug 2, 2022 at 9:24 PM mahendrakar s <mahendrakarforpg@gmail.com> wrote:
>
> Patch is looking good to me.
>
> Thanks,
> Mahendrakar.
>
> On Tue, 2 Aug 2022 at 16:57, Junwang Zhao <zhjwpku@gmail.com> wrote:
>>
>> abstract the logic of `scankey change attribute num to index col
>> number` to change_sk_attno_to_index_column_num, which is a static
>> inline function.
>>
>> --
>> Regards
>> Junwang Zhao



-- 
Regards
Junwang Zhao