FIX Warning Message in multi_logical_optimizer.c

With #426, some new warning messages started to arise, because of
cross assignment of Node and Expr pointers. This change fixes the
warnings with type casts.
pull/1938/head
eren 2016-04-20 11:33:29 +03:00
parent 6c61617d30
commit 33b96dfb7f
1 changed files with 2 additions and 1 deletions

View File

@ -2907,7 +2907,8 @@ IsPartitionColumnRecursive(Expr *columnExpression, Query *query)
List *rangetableList = query->rtable;
Index rangeTableEntryIndex = 0;
RangeTblEntry *rangeTableEntry = NULL;
Expr *strippedColumnExpression = strip_implicit_coercions(columnExpression);
Expr *strippedColumnExpression = (Expr *) strip_implicit_coercions(
(Node *) columnExpression);
if (IsA(strippedColumnExpression, Var))
{