mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Fix wrong field order in _readMergeWhenClause().
We hadn't noticed this because it's dead code: there is no situation where we read raw parse trees from text format. So maybe the right fix is to remove the function altogether, but I'll forbear for now; it's not the only dead code in readfuncs.c, I think. Noted while comparing existing code to the results of Peter's auto-generation script.
This commit is contained in:
parent
0229106afa
commit
55b8ac8172
@ -485,10 +485,10 @@ _readMergeWhenClause(void)
|
|||||||
|
|
||||||
READ_BOOL_FIELD(matched);
|
READ_BOOL_FIELD(matched);
|
||||||
READ_ENUM_FIELD(commandType, CmdType);
|
READ_ENUM_FIELD(commandType, CmdType);
|
||||||
|
READ_ENUM_FIELD(override, OverridingKind);
|
||||||
READ_NODE_FIELD(condition);
|
READ_NODE_FIELD(condition);
|
||||||
READ_NODE_FIELD(targetList);
|
READ_NODE_FIELD(targetList);
|
||||||
READ_NODE_FIELD(values);
|
READ_NODE_FIELD(values);
|
||||||
READ_ENUM_FIELD(override, OverridingKind);
|
|
||||||
|
|
||||||
READ_DONE();
|
READ_DONE();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user