MCPcopy Create free account
hub / github.com/anse1/sqlsmith / allowed

Method allowed

expr.cc:374–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374bool window_function::allowed(prod *p)
375{
376 if (dynamic_cast<select_list *>(p))
377 return dynamic_cast<query_spec *>(p->pprod) ? true : false;
378 if (dynamic_cast<window_function *>(p))
379 return false;
380 if (dynamic_cast<value_expr *>(p))
381 return allowed(p->pprod);
382 return false;
383}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected