Fix some typos (#2620)

pull/2587/head
exialin 2019-03-15 07:48:31 +08:00 committed by Hadi Moshayedi
parent cd00e92cbc
commit 84b853e1b5
2 changed files with 4 additions and 4 deletions

View File

@ -2702,7 +2702,7 @@ InitializeWorkerNodeCache(void)
* searched by the nodename and nodeport in every physical plan creation. * searched by the nodename and nodeport in every physical plan creation.
*/ */
memset(&info, 0, sizeof(info)); memset(&info, 0, sizeof(info));
info.keysize = +sizeof(uint32) + WORKER_LENGTH + sizeof(uint32); info.keysize = sizeof(uint32) + WORKER_LENGTH + sizeof(uint32);
info.entrysize = sizeof(WorkerNode); info.entrysize = sizeof(WorkerNode);
info.hcxt = CacheMemoryContext; info.hcxt = CacheMemoryContext;
info.hash = WorkerNodeHashCode; info.hash = WorkerNodeHashCode;

View File

@ -1,15 +1,15 @@
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* *
* ruleutils_10.c * ruleutils_11.c
* Functions to convert stored expressions/querytrees back to * Functions to convert stored expressions/querytrees back to
* source text * source text
* *
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* *
* IDENTIFICATION * IDENTIFICATION
* src/backend/distributed/utils/ruleutils_10.c * src/backend/distributed/utils/ruleutils_11.c
* *
* This needs to be closely in sync with the core code. * This needs to be closely in sync with the core code.
*------------------------------------------------------------------------- *-------------------------------------------------------------------------