Fix an unnecessary cast calling elog in ExecHashJoinImpl

Поиск
Список
Период
Сортировка
От Tender Wang
Тема Fix an unnecessary cast calling elog in ExecHashJoinImpl
Дата
Msg-id CAHewXN=s2thWwfWhugDLUhAn-UTtBPYLe_pPBfcH-DJ4PjMzpQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fix an unnecessary cast calling elog in ExecHashJoinImpl
Список pgsql-hackers
Hi,

While debugging the HashJoin codes, I noticed below codes in ExecHashJoinImpl():

elog(ERROR, "unrecognized hashjoin state: %d",
(int) node->hj_JoinState);

The type of hj_JoinState is already int, so the cast seems unnecessary.
So I remove it in the attached patch.

--
Thanks,
Tender Wang
Вложения

В списке pgsql-hackers по дате отправления: