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

Function test_skipLimitSort

tests/unit/test_execution_plan_clone.c:219–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void test_skipLimitSort() {
220 const char **queries = array_new(const char *, 5);
221 array_append(queries, "MATCH (n) RETURN n SKIP 5");
222 array_append(queries, "MATCH (n) RETURN n LIMIT 5");
223 array_append(queries, "MATCH (n) RETURN n SKIP 5 LIMIT 5");
224 array_append(queries, "MATCH (n) RETURN n ORDER BY n.val");
225 array_append(queries, "MATCH (n) RETURN n ORDER BY n.val SKIP 5 LIMIT 5");
226
227 validate_query_plans_clone(queries);
228 array_free(queries);
229}
230
231void test_optionalMatch() {
232 const char **queries = array_new(const char *, 3);

Callers

nothing calls this directly

Calls 2

array_freeFunction · 0.85

Tested by

no test coverage detected