Details
Description
Some developers apparently don't like that now my_vsnprintf("%.*s") behaves not as in the C standard.
So, we'll change it back and introduce %S to print the truncation indicator.
All %s that print something to the end user have to be changed, for example, to %S. This includes all error messages and everything in the code too.
Don't forget to update the documentation in the service header file.
And we'll need some way to ensure that in the future all new printfs to the use also use %S.
Attachments
Issue Links
- is caused by
-
MDEV-20604 Duplicate key value is silently truncated to 64 characters in print_keydup_error
- Closed
- relates to
-
MDEV-21978 make my_vsnprintf to use gcc-compatible format extensions
- In Testing
-
MDEV-22147 main.mysqldump fails with wrong result (truncated output)
- Closed