Minor refactor of the code in ExecScanExtended()

Поиск
Список
Период
Сортировка
От cca5507
Тема Minor refactor of the code in ExecScanExtended()
Дата
Msg-id tencent_521639454FA60ECFE200D82E2F54AAB0BA05@qq.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

The current code:

      if (!qual && !projInfo)
      {
            ResetExprContext(econtext);
            return ExecScanFetch(node, epqstate, accessMtd, recheckMtd);
      }

      ResetExprContext(econtext);

The following format might be simpler:

      ResetExprContext(econtext);

      if (!qual && !projInfo)
            return ExecScanFetch(node, epqstate, accessMtd, recheckMtd);

Attach a patch to do this.

--
Regards,
ChangAo Chen

Вложения

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