| 260 | */ |
| 261 | |
| 262 | uchar* my_hash_first(const HASH *hash, const uchar *key, size_t length, |
| 263 | HASH_SEARCH_STATE *current_record) |
| 264 | { |
| 265 | uchar *res; |
| 266 | if (my_hash_inited(hash)) |
| 267 | res= my_hash_first_from_hash_value(hash, |
| 268 | calc_hash(hash, key, length ? length : hash->key_length), |
| 269 | key, length, current_record); |
| 270 | else |
| 271 | res= 0; |
| 272 | return res; |
| 273 | } |
| 274 | |
| 275 | |
| 276 | uchar* my_hash_first_from_hash_value(const HASH *hash, |
no test coverage detected