mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.5' into 10.6
This commit is contained in:
@ -4123,7 +4123,7 @@ bool mysql_show_binlog_events(THD* thd)
|
||||
binlog_size= s.st_size;
|
||||
if (lex_mi->pos > binlog_size)
|
||||
{
|
||||
sprintf(errmsg_buf, "Invalid pos specified. Requested from pos:%llu is "
|
||||
snprintf(errmsg_buf, sizeof(errmsg_buf), "Invalid pos specified. Requested from pos:%llu is "
|
||||
"greater than actual file size:%lu\n", lex_mi->pos,
|
||||
(ulong)s.st_size);
|
||||
errmsg= errmsg_buf;
|
||||
|
Reference in New Issue
Block a user