| 1093 | |
| 1094 | |
| 1095 | void Item_cond::neg_arguments(THD *thd) |
| 1096 | { |
| 1097 | List_iterator<Item> li(list); |
| 1098 | Item *item; |
| 1099 | while ((item= li++)) /* Apply not transformation to the arguments */ |
| 1100 | { |
| 1101 | Item *new_item= item->neg_transformer(thd); |
| 1102 | if (!new_item) |
| 1103 | { |
| 1104 | if (!(new_item= new Item_func_not(item))) |
| 1105 | return; // Fatal OEM error |
| 1106 | } |
| 1107 | (void) li.replace(new_item); |
| 1108 | } |
| 1109 | } |
| 1110 | |
| 1111 | |
| 1112 | /** |
nothing calls this directly
no test coverage detected