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/459/head
eren 2016-04-20 11:33:29 +03:00
parent 0ac9bf2bcb
commit 53186b4e67
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))
{