The variable this item really references, or NULL when it references none. * Two items carry a placeholder in that field rather than a name the query * declared: `count(*)` stores "*", and a CASE expression stores "CASE". Both * would read as an unknown variable, so neither is checkable here. */
| 6375 | * declared: `count(*)` stores "*", and a CASE expression stores "CASE". Both |
| 6376 | * would read as an unknown variable, so neither is checkable here. */ |
| 6377 | static const char *scope_checkable_var(const cbm_return_item_t *item) { |
| 6378 | if (item->kase || !item->variable) { |
| 6379 | return NULL; |
| 6380 | } |
| 6381 | if (strcmp(item->variable, "*") == 0) { |
| 6382 | return NULL; |
| 6383 | } |
| 6384 | return item->variable; |
| 6385 | } |
| 6386 | |
| 6387 | /* Says which limit the query passed and how to get under it. An unnamed node |
| 6388 | * takes no slot — except the head of the first pattern, which the engine binds |
no outgoing calls
no test coverage detected