#2208: a node carried IN SCOPE through WITH must project every property * exactly as the same node does without the WITH. The carried var used to be a * name-only stub whose qualified_name slot held the variable name and whose * start_line was 0, so f.qualified_name returned "f" and f.start_line "0". */
| 4209 | * name-only stub whose qualified_name slot held the variable name and whose |
| 4210 | * start_line was 0, so f.qualified_name returned "f" and f.start_line "0". */ |
| 4211 | static int64_t issue2208_id_of(cbm_store_t *s, const char *qn) { |
| 4212 | cbm_node_t n = {0}; |
| 4213 | int64_t id = 0; |
| 4214 | if (cbm_store_find_node_by_qn(s, "test", qn, &n) == CBM_STORE_OK) { |
| 4215 | id = n.id; |
| 4216 | cbm_node_free_fields(&n); |
| 4217 | } |
| 4218 | return id; |
| 4219 | } |
| 4220 | |
| 4221 | static cbm_store_t *setup_issue2208_store(void) { |
| 4222 | cbm_store_t *s = setup_cypher_store(); |
no test coverage detected