MERGE fix variable warning in non-assert builds
Author: Jesper Pedersen
This commit is contained in:
parent
a5d86181ec
commit
3af7b2b0d4
|
@ -48,13 +48,11 @@ ExecMerge(ModifyTableState *mtstate, EState *estate, TupleTableSlot *slot,
|
||||||
ItemPointer tupleid;
|
ItemPointer tupleid;
|
||||||
ItemPointerData tuple_ctid;
|
ItemPointerData tuple_ctid;
|
||||||
bool matched = false;
|
bool matched = false;
|
||||||
char relkind;
|
|
||||||
Datum datum;
|
Datum datum;
|
||||||
bool isNull;
|
bool isNull;
|
||||||
|
|
||||||
relkind = resultRelInfo->ri_RelationDesc->rd_rel->relkind;
|
Assert(resultRelInfo->ri_RelationDesc->rd_rel->relkind ||
|
||||||
Assert(relkind == RELKIND_RELATION ||
|
resultRelInfo->ri_RelationDesc->rd_rel->relkind == RELKIND_PARTITIONED_TABLE);
|
||||||
relkind == RELKIND_PARTITIONED_TABLE);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reset per-tuple memory context to free any expression evaluation
|
* Reset per-tuple memory context to free any expression evaluation
|
||||||
|
|
Loading…
Reference in New Issue