| 5843 | * every start node's expansion order. */ |
| 5844 | |
| 5845 | static int stream_run(cbm_store_t *s, const char *query, int max_rows, int chunk, |
| 5846 | cbm_cypher_result_t *out) { |
| 5847 | memset(out, 0, sizeof(*out)); |
| 5848 | cbm_cypher_test_set_stream_chunk(chunk); |
| 5849 | int rc = cbm_cypher_execute(s, query, "test", max_rows, out); |
| 5850 | cbm_cypher_test_set_stream_chunk(0); |
| 5851 | return rc; |
| 5852 | } |
| 5853 | |
| 5854 | static bool stream_same_str(const char *a, const char *b) { |
| 5855 | return (!a && !b) || (a && b && strcmp(a, b) == 0); |
no test coverage detected