Fix function calls from unit tests 'enrich_trivial_expression' was renamed to 'add_extra_expression_items'. The necessary changes in tests are made by this commit
Project: http://git-wip-us.apache.org/repos/asf/hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/hawq/commit/67b8f84c Tree: http://git-wip-us.apache.org/repos/asf/hawq/tree/67b8f84c Diff: http://git-wip-us.apache.org/repos/asf/hawq/diff/67b8f84c Branch: refs/heads/pr1369 Commit: 67b8f84c9a65653d12b3b5dd33321812337b1066 Parents: 303cf5c Author: Ivan Leskin <[email protected]> Authored: Mon Sep 10 12:28:23 2018 +0300 Committer: rlei <[email protected]> Committed: Mon Sep 10 17:46:24 2018 +0800 ---------------------------------------------------------------------- src/backend/access/external/test/pxffilters_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hawq/blob/67b8f84c/src/backend/access/external/test/pxffilters_test.c ---------------------------------------------------------------------- diff --git a/src/backend/access/external/test/pxffilters_test.c b/src/backend/access/external/test/pxffilters_test.c index 132c9b1..6b0bd8b 100644 --- a/src/backend/access/external/test/pxffilters_test.c +++ b/src/backend/access/external/test/pxffilters_test.c @@ -866,9 +866,9 @@ test__pxf_serialize_filter_list__manyFilters(void **state) pfree(result); int trivialExpressionItems = expressionItems->length; - enrich_trivial_expression(expressionItems); + add_extra_and_expression_items(expressionItems, trivialExpressionItems - 1); - assert_int_equal(expressionItems->length, 2*trivialExpressionItems - 1); + assert_int_equal(expressionItems->length, 2 * trivialExpressionItems - 1); pxf_free_expression_items_list(expressionItems); expressionItems = NIL;
