| 2586 | } |
| 2587 | |
| 2588 | static int search_build_where(const cbm_search_params_t *params, char *where, int where_sz, |
| 2589 | search_bind_t *binds, int *bind_idx, search_like_pool_t *pool) { |
| 2590 | int wlen = 0; |
| 2591 | int nparams = 0; |
| 2592 | |
| 2593 | search_where_basic(params, where, where_sz, &wlen, &nparams, binds, bind_idx, pool); |
| 2594 | search_where_advanced(params, where, where_sz, &wlen, &nparams, binds, bind_idx); |
| 2595 | |
| 2596 | return nparams; |
| 2597 | } |
| 2598 | |
| 2599 | int cbm_store_search(cbm_store_t *s, const cbm_search_params_t *params, cbm_search_output_t *out) { |
| 2600 | memset(out, 0, sizeof(*out)); |
no test coverage detected