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