| 686 | public: |
| 687 | Item_func_binary(Item *a) :Item_str_func(a) {} |
| 688 | String *val_str(String *a) |
| 689 | { |
| 690 | DBUG_ASSERT(fixed == 1); |
| 691 | String *tmp=args[0]->val_str(a); |
| 692 | null_value=args[0]->null_value; |
| 693 | if (tmp) |
| 694 | tmp->set_charset(&my_charset_bin); |
| 695 | return tmp; |
| 696 | } |
| 697 | virtual void print(String *str, enum_query_type query_type); |
| 698 | const char *func_name() const { return "cast_as_binary"; } |
| 699 | }; |
nothing calls this directly
no test coverage detected