| 1121 | /* This works because items are allocated on THD::mem_root */ |
| 1122 | |
| 1123 | void free_items(Item *item) |
| 1124 | { |
| 1125 | Item *next; |
| 1126 | DBUG_ENTER("free_items"); |
| 1127 | for (; item ; item=next) |
| 1128 | { |
| 1129 | next=item->next; |
| 1130 | item->delete_self(); |
| 1131 | } |
| 1132 | DBUG_VOID_RETURN; |
| 1133 | } |
| 1134 | |
| 1135 | /** |
| 1136 | This works because items are allocated on THD::mem_root. |
no test coverage detected