| 6718 | */ |
| 6719 | |
| 6720 | void func_upper(Expression_value args[], int count, Expression_value *result) |
| 6721 | { |
| 6722 | if (count != 1) |
| 6723 | die("upper() expects 1 argument, got %d", count); |
| 6724 | |
| 6725 | My_string result_str; |
| 6726 | result_str.copy_caseup(charset_info, args[0].to_string().to_lex_cstring()); |
| 6727 | |
| 6728 | result->set_string(result_str.ptr(), result_str.length()); |
| 6729 | } |
| 6730 | |
| 6731 | |
| 6732 | /** |
no test coverage detected