| 4210 | } |
| 4211 | |
| 4212 | static void escape_expr(struct strbuf *out, const char *expr) |
| 4213 | { |
| 4214 | while (*expr) { |
| 4215 | if (*expr == '"') { |
| 4216 | strbuf_append(out, "\\\""); |
| 4217 | } else { |
| 4218 | strbuf_appendf(out, "%c", *expr); |
| 4219 | } |
| 4220 | ++expr; |
| 4221 | } |
| 4222 | } |
| 4223 | |
| 4224 | static int retrieve_check_constraint(Parse *pParse, |
| 4225 | struct comdb2_ddl_context *ctx, |
no test coverage detected