diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-10-02 14:38:13 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-10-02 14:38:13 +0200 |
commit | 3a2116241b128b811ee2455845ff9710da3115ac (patch) | |
tree | 7de53fc50126f7a19251303bd1d2a0f6cdb42069 /sql/sql_repl.cc | |
parent | e29fb956145cfa1f4f8c41cafcddea36a20b23aa (diff) | |
parent | d4f6d2f08f228778fd7744554d8b12be05b6a114 (diff) | |
download | mariadb-git-3a2116241b128b811ee2455845ff9710da3115ac.tar.gz |
Merge branch '10.4' into 10.5
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index aad53bb69d0..decddba6c4f 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -4113,7 +4113,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; |