diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2020-05-20 13:34:51 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2020-05-24 21:27:08 +0200 |
commit | cf52dd174ecf0e6055f4443be9c1fea8bc37b65e (patch) | |
tree | 63eba68da735d7d8280e624ae1be9a3d3f78588b /extra | |
parent | d8e2fa0c49d506bde037fe448dc9840e8e14cf92 (diff) | |
download | mariadb-git-cf52dd174ecf0e6055f4443be9c1fea8bc37b65e.tar.gz |
MDEV-22545: my_vsnprintf behaves not as in C standard
Added parameter %T for string which should be visibly truncated.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/comp_err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c index 39b2915bc00..9408d925a2d 100644 --- a/extra/comp_err.c +++ b/extra/comp_err.c @@ -787,6 +787,7 @@ static ha_checksum checksum_format_specifier(const char* msg) case 'x': case 's': case 'M': + case 'T': chksum= my_checksum(chksum, (uchar*) start, (uint) (p + 1 - start)); start= 0; /* Not in format specifier anymore */ break; |