Merge pull request #2023 from citusdata/fix_table_size

Do not use new connection in table size functions
pull/2018/head
Marco Slot 2018-02-26 11:04:54 +01:00 committed by GitHub
commit 846b8b1536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;