The test's own reading of the chain: does any operand name `name`? */
| 5235 | |
| 5236 | /* The test's own reading of the chain: does any operand name `name`? */ |
| 5237 | static bool chain_names(const char *name) { |
| 5238 | for (int i = 0; i < CYPHER_CHAIN_OPERANDS; i++) { |
| 5239 | char buf[48]; |
| 5240 | if (strcmp(chain_operand_value(i, buf, sizeof(buf)), name) == 0) { |
| 5241 | return true; |
| 5242 | } |
| 5243 | } |
| 5244 | return false; |
| 5245 | } |
| 5246 | |
| 5247 | /* head + "f.name <op> \"v0\"" + join + "f.name <op> \"v1\"" + ... + tail */ |
| 5248 | static char *chain_query(const char *head, const char *op, const char *join, const char *tail) { |
no test coverage detected