| 92 | */ |
| 93 | |
| 94 | int init_queue_ex(QUEUE *queue, uint max_elements, uint offset_to_key, |
| 95 | pbool max_at_top, int (*compare) (void *, uchar *, uchar *), |
| 96 | void *first_cmp_arg, uint auto_extent) |
| 97 | { |
| 98 | int ret; |
| 99 | DBUG_ENTER("init_queue_ex"); |
| 100 | |
| 101 | if ((ret= init_queue(queue, max_elements, offset_to_key, max_at_top, compare, |
| 102 | first_cmp_arg))) |
| 103 | DBUG_RETURN(ret); |
| 104 | |
| 105 | queue->auto_extent= auto_extent; |
| 106 | DBUG_RETURN(0); |
| 107 | } |
| 108 | |
| 109 | /* |
| 110 | Reinitialize queue for other usage |
no test coverage detected