| 1253 | |
| 1254 | extern "C" |
| 1255 | LEX_CSTRING *thd_make_lex_string(const THD *thd, LEX_CSTRING *lex_str, |
| 1256 | const char *str, size_t size, |
| 1257 | int allocate_lex_string) |
| 1258 | { |
| 1259 | return allocate_lex_string ? thd->make_clex_string(str, size) |
| 1260 | : thd->make_lex_string(lex_str, str, size); |
| 1261 | } |
| 1262 | |
| 1263 | extern "C" |
| 1264 | void *thd_memdup(const MYSQL_THD thd, const void* str, size_t size) |
no test coverage detected