File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,15 @@ execTuplesMatchPrepare(TupleDesc desc,
62
62
const Oid * collations ,
63
63
PlanState * parent )
64
64
{
65
- Oid * eqFunctions = ( Oid * ) palloc ( numCols * sizeof ( Oid )) ;
65
+ Oid * eqFunctions ;
66
66
int i ;
67
67
ExprState * expr ;
68
68
69
69
if (numCols == 0 )
70
70
return NULL ;
71
71
72
+ eqFunctions = (Oid * ) palloc (numCols * sizeof (Oid ));
73
+
72
74
/* lookup equality functions */
73
75
for (i = 0 ; i < numCols ; i ++ )
74
76
eqFunctions [i ] = get_opcode (eqOperators [i ]);
Original file line number Diff line number Diff line change @@ -524,7 +524,7 @@ pg_options_to_table(PG_FUNCTION_ARGS)
524
524
Datum array = PG_GETARG_DATUM (0 );
525
525
ListCell * cell ;
526
526
List * options ;
527
- ReturnSetInfo * rsinfo = ( ReturnSetInfo * ) fcinfo -> resultinfo ;
527
+ ReturnSetInfo * rsinfo ;
528
528
529
529
options = untransformRelOptions (array );
530
530
rsinfo = (ReturnSetInfo * ) fcinfo -> resultinfo ;
You can’t perform that action at this time.
0 commit comments