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

Method null_predicate

expr.hh:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 const char *negate;
106 shared_ptr<value_expr> expr;
107 null_predicate(prod *p) : bool_expr(p) {
108 negate = ((d6()<4) ? "not " : "");
109 expr = value_expr::factory(this);
110 }
111 virtual void out(std::ostream &out) {
112 out << *expr << " is " << negate << "NULL";
113 }

Callers

nothing calls this directly

Calls 1

d6Function · 0.85

Tested by

no test coverage detected