1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

open frm for DROP TABLE

needed to get partitioning and information about
secondary objects
This commit is contained in:
Sergei Golubchik
2024-01-27 00:15:40 +01:00
parent c1b4f3a32c
commit aa09cb3b11
6 changed files with 57 additions and 18 deletions

View File

@@ -1329,6 +1329,13 @@ public:
{
return strmake_lex_cstring(from.str, from.length);
}
LEX_CUSTRING strmake_lex_custring(const LEX_CUSTRING &from) const
{
const void *tmp= memdup(from.str, from.length);
if (!tmp)
return {0,0};
return {(const uchar*)tmp, from.length};
}
LEX_CSTRING strmake_lex_cstring_trim_whitespace(const LEX_CSTRING &from,
CHARSET_INFO *cs)
{