purecov: begin inspected */
| 266 | |
| 267 | /* purecov: begin inspected */ |
| 268 | void print_keyuse_array(DYNAMIC_ARRAY *keyuse_array) |
| 269 | { |
| 270 | DBUG_LOCK_FILE; |
| 271 | fprintf(DBUG_FILE, "KEYUSE array (%zu elements)\n", keyuse_array->elements); |
| 272 | for(uint i=0; i < keyuse_array->elements; i++) |
| 273 | print_keyuse((KEYUSE*)dynamic_array_ptr(keyuse_array, i)); |
| 274 | DBUG_UNLOCK_FILE; |
| 275 | } |
| 276 | |
| 277 | /* |
| 278 | Print the current state during query optimization. |
no test coverage detected