| 112 | } |
| 113 | |
| 114 | static inline cdb_dict_t *nth_dict(const cdb_res_t *res, int nth) |
| 115 | { |
| 116 | struct list_head *_; |
| 117 | cdb_row_t *row; |
| 118 | |
| 119 | list_for_each (_, &res->rows) { |
| 120 | if (--nth == 0) { |
| 121 | row = list_entry(_, cdb_row_t, list); |
| 122 | return &row->dict; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | return NULL; |
| 127 | } |
| 128 | |
| 129 | static int test_query_filters(cachedb_funcs *api, cachedb_con *con, |
| 130 | const char *cachedb_name) |
no test coverage detected