Create a LEX_STRING in this connection. @param lex_str pointer to LEX_STRING object to be initialized @param str initializer to be copied into lex_str @param length length of str, in bytes @param allocate_lex_string if TRUE, allocate new LEX_STRING object, instead of using lex_str value @return NULL on failure, or pointer to the LEX_STRING object
| 1176 | @return NULL on failure, or pointer to the LEX_STRING object |
| 1177 | */ |
| 1178 | LEX_STRING *THD::make_lex_string(LEX_STRING *lex_str, |
| 1179 | const char* str, uint length, |
| 1180 | bool allocate_lex_string) |
| 1181 | { |
| 1182 | return make_lex_string_root (mem_root, lex_str, str, |
| 1183 | length, allocate_lex_string); |
| 1184 | } |
| 1185 | |
| 1186 | |
| 1187 | /* |
no test coverage detected