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

Function conditional_stack_set_paren_depth

src/fe_utils/conditional.c:160–165  ·  view source on GitHub ↗

* Save current parenthesis nesting depth in topmost stack entry. */

Source from the content-addressed store, hash-verified

158 * Save current parenthesis nesting depth in topmost stack entry.
159 */
160void
161conditional_stack_set_paren_depth(ConditionalStack cstack, int depth)
162{
163 Assert(!conditional_stack_empty(cstack));
164 cstack->head->paren_depth = depth;
165}
166
167/*
168 * Fetch last-recorded parenthesis nesting depth from topmost stack entry.

Callers 1

save_query_text_stateFunction · 0.85

Calls 1

conditional_stack_emptyFunction · 0.85

Tested by

no test coverage detected