MCPcopy Create free account
hub / github.com/apache/cloudberry / pushquery

Function pushquery

contrib/intarray/_int_bool.c:135–145  ·  view source on GitHub ↗

* push new one in polish notation reverse view */

Source from the content-addressed store, hash-verified

133 * push new one in polish notation reverse view
134 */
135static void
136pushquery(WORKSTATE *state, int32 type, int32 val)
137{
138 NODE *tmp = (NODE *) palloc(sizeof(NODE));
139
140 tmp->type = type;
141 tmp->val = val;
142 tmp->next = state->str;
143 state->str = tmp;
144 state->num++;
145}
146
147#define STACKDEPTH 16
148

Callers 1

makepolFunction · 0.70

Calls 1

pallocFunction · 0.50

Tested by

no test coverage detected