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

Added make_tmp_table_name() to simplify creating temporary table names

This commit is contained in:
Monty
2025-01-05 14:50:45 +02:00
parent efc5d3f84d
commit c234a312d7
6 changed files with 40 additions and 32 deletions

View File

@@ -95,6 +95,7 @@ void build_lower_case_table_filename(char *buff, size_t bufflen,
const LEX_CSTRING *table,
uint flags);
uint build_tmptable_filename(THD* thd, char *buff, size_t bufflen);
void make_tmp_table_name(THD *thd, LEX_STRING *to, const char *prefix);
bool add_keyword_to_query(THD *thd, String *result, const LEX_CSTRING *keyword,
const LEX_CSTRING *add);