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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user