1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

unit tests for my_vsnprintf,

bug fixes for my_vsnprintf

include/mysql/service_my_snprintf.h:
  typo fixed
strings/my_vsnprintf.c:
  bugfixes:
  correct handling of %08p (%p with zero-padding)
  assert crash on .*$n (positional argument as precision)
This commit is contained in:
Sergei Golubchik
2009-11-04 00:15:16 +01:00
parent e101571226
commit 1a8f08b006
4 changed files with 166 additions and 53 deletions

View File

@ -42,7 +42,7 @@
% <flag> <width> <precision> <length modifier> <format>
where everithing but the format is optional.
Three one-character flags are regognized:
Three one-character flags are recognized:
'0' has the standard zero-padding semantics;
'-' is parsed, but silently ignored;
'`' (backtick) is only supported for strings (%s) and means that the