A start-node scan failed part-way. The rows read so far must not answer the * query as if they were all of them: record the store's error for * cbm_cypher_execute, which fails the query with it. */
| 6047 | * query as if they were all of them: record the store's error for |
| 6048 | * cbm_cypher_execute, which fails the query with it. */ |
| 6049 | static void start_source_fail(start_source_t *src, const char *why) { |
| 6050 | src->failed = true; |
| 6051 | src->done = true; |
| 6052 | snprintf(g_cypher_scan_error, sizeof(g_cypher_scan_error), "%s", |
| 6053 | why && why[0] ? why : "unknown store error"); |
| 6054 | cbm_log_error("cypher.scan_failed", "error", g_cypher_scan_error); |
| 6055 | } |
| 6056 | |
| 6057 | static void start_source_open(start_source_t *src, cbm_store_t *store, const char *project, |
| 6058 | const cbm_node_pattern_t *node) { |
no outgoing calls
no test coverage detected