From 9b9b9e2cf052457ef96444c5c222647e5e4672fd Mon Sep 17 00:00:00 2001 From: Nils Dijk Date: Thu, 8 Oct 2020 19:07:18 +0200 Subject: [PATCH] remove double declaration of stripeMetadata (#20) Compilers seem to behave differently with variable shadowing as both I and the marlin deployment have segfaults when querying a cstore table today, however, CI seem to not care :D This removes a double declaration that was not caught in #10 --- cstore_reader.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cstore_reader.c b/cstore_reader.c index e51695353..499c990d4 100644 --- a/cstore_reader.c +++ b/cstore_reader.c @@ -138,7 +138,6 @@ CStoreReadNextRow(TableReadState *readState, Datum *columnValues, bool *columnNu while (readState->stripeBuffers == NULL) { StripeBuffers *stripeBuffers = NULL; - StripeMetadata *stripeMetadata = NULL; List *stripeMetadataList = readState->datafileMetadata->stripeMetadataList; uint32 stripeCount = list_length(stripeMetadataList);