mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-18880: Optimizer trace prints date in hexadecimal
Introduced a print_key_value function to makes sure that the trace prints data in readable format for readable characters and the rest of the characters are printed as hexadecimal.
This commit is contained in:
@ -674,6 +674,7 @@ public:
|
||||
|
||||
int reserve(size_t space_needed)
|
||||
{
|
||||
DBUG_ASSERT((ulonglong) str_length + space_needed < UINT_MAX32);
|
||||
return realloc(str_length + space_needed);
|
||||
}
|
||||
int reserve(size_t space_needed, size_t grow_by);
|
||||
@ -959,6 +960,8 @@ public:
|
||||
{
|
||||
return !sortcmp(this, other, cs);
|
||||
}
|
||||
private:
|
||||
bool append_semi_hex(const char *s, uint len, CHARSET_INFO *cs);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user