1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

cleanup: lex_string_set3()

This commit is contained in:
Sergei Golubchik
2024-01-27 09:31:44 +01:00
parent 32e6f8ff2e
commit ae59127158
9 changed files with 21 additions and 34 deletions

View File

@@ -242,12 +242,6 @@ static inline void lex_string_set(LEX_CSTRING *lex_str, const char *c_str)
lex_str->str= c_str;
lex_str->length= strlen(c_str);
}
static inline void lex_string_set3(LEX_CSTRING *lex_str, const char *c_str,
size_t len)
{
lex_str->str= c_str;
lex_str->length= len;
}
/**
Copies a string.