mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Add support for minimum field width for strings to my_vsnprintf()
This patch adds support for right aligned strings and numbers. Left alignment is left as an exercise for anyone needing it. MDEV-25612 "Assertion `to <= end' failed in process_args" fixed. (Was caused by the original version of this patch)
This commit is contained in:
9
mysql-test/main/strings.result
Normal file
9
mysql-test/main/strings.result
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# MDEV-25612 Assertion `to <= end' failed in process_args
|
||||
#
|
||||
SET SESSION default_master_connection=REPEAT('a',190),lc_messages=ru_ru;
|
||||
CHANGE MASTER TO master_host='dummy';
|
||||
START SLAVE sql_thread;
|
||||
CHANGE MASTER TO master_user='user',master_password='pwd';
|
||||
ERROR HY000: \042D\0442\0443 \043E\043F\0435\0440\0430\0446\0438\044E \043D\0435\0432\043E\0437\043C\043E\0436\043D\043E \0432\044B\043F\043E\043B\043D\0438\0442\044C \043F\0440\0438 \0440\0430\0431\043E\0442\0430\044E\0449\0435\043C \043F\043E\0442\043E\043A\0435 \043F\043E\0434\0447\0438\043D\0435\043D\043D\043E\0433\043E \0441\0435\0440\0432\0435\0440\0430 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
STOP SLAVE;
|
Reference in New Issue
Block a user