mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Remove String::lex_string() and String::lex_cstring()
- Better to use 'String *' directly. - Added String::get_value(LEX_STRING*) for the few cases where we want to convert a String to LEX_CSTRING. Other things: - Use StringBuffer for some functions to avoid mallocs
This commit is contained in:
@ -6447,8 +6447,7 @@ struct SORT_FIELD_ATTR
|
||||
*/
|
||||
bool maybe_null;
|
||||
CHARSET_INFO *cs;
|
||||
uint pack_sort_string(uchar *to, const LEX_CSTRING &str,
|
||||
CHARSET_INFO *cs) const;
|
||||
uint pack_sort_string(uchar *to, String *str) const;
|
||||
int compare_packed_fixed_size_vals(uchar *a, size_t *a_len,
|
||||
uchar *b, size_t *b_len);
|
||||
int compare_packed_varstrings(uchar *a, size_t *a_len,
|
||||
|
Reference in New Issue
Block a user