MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / test_optionalMatch

Function test_optionalMatch

tests/unit/test_execution_plan_clone.c:231–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void test_optionalMatch() {
232 const char **queries = array_new(const char *, 3);
233 array_append(queries, "OPTIONAL MATCH (n) RETURN n");
234 array_append(queries, "MATCH (a) OPTIONAL MATCH (b) RETURN a, b");
235 array_append(queries, "MATCH (a) OPTIONAL MATCH (a)-[e]->(b) RETURN a, e, b");
236
237 validate_query_plans_clone(queries);
238 array_free(queries);
239}
240
241void test_procCall() {
242 const char **queries = array_new(const char *, 1);

Callers

nothing calls this directly

Calls 2

array_freeFunction · 0.85

Tested by

no test coverage detected