1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-29672 Add MTR tests covering key and key segment flags and types

This commit is contained in:
Alexander Barkov
2022-09-28 18:49:09 +04:00
parent e3fdabd501
commit 1118e979c2
7 changed files with 5257 additions and 1 deletions

View File

@ -164,6 +164,17 @@ void Static_binary_string::qs_append_hex(const char *str, uint32 len)
}
void Static_binary_string::qs_append_hex_uint32(uint32 num)
{
char *to= Ptr + str_length;
APPEND_HEX(to, (uchar) (num >> 24));
APPEND_HEX(to, (uchar) (num >> 16));
APPEND_HEX(to, (uchar) (num >> 8));
APPEND_HEX(to, (uchar) num);
str_length+= 8;
}
// Convert a string to its HEX representation
bool Binary_string::set_hex(const char *str, uint32 len)
{