Do not use new connection in table size functions

pull/2023/head
Marco Slot 2018-02-23 07:07:55 +01:00
parent e2001a332f
commit 1e9186a3b5
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ DistributedTableSizeOnWorker(WorkerNode *workerNode, Oid relationId, char *sizeQ
char *tableSizeString; char *tableSizeString;
uint64 tableSize = 0; uint64 tableSize = 0;
MultiConnection *connection = NULL; MultiConnection *connection = NULL;
uint32 connectionFlag = FORCE_NEW_CONNECTION; uint32 connectionFlag = 0;
PGresult *result = NULL; PGresult *result = NULL;
int queryResult = 0; int queryResult = 0;
List *sizeList = NIL; List *sizeList = NIL;