Skip to content

Commit

Permalink
Fix size in makeConst calls
Browse files Browse the repository at this point in the history
  • Loading branch information
rdunklau committed Feb 22, 2016
1 parent 64ce596 commit 4e9676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ pathKeys(MulticornPlanState * state)
}
item = lappend(item, attnums);
item = lappend(item, makeConst(INT4OID,
-1, InvalidOid, -1, rows, false, true));
-1, InvalidOid, 4, rows, false, true));
result = lappend(result, item);
Py_DECREF(p_keys);
Py_DECREF(p_cost);
Expand Down

0 comments on commit 4e9676c

Please sign in to comment.