Hi, Monty,

On Dec 22, Michael Widenius wrote:
> revision-id: 13fed908291 (mariadb-10.6.20-63-g13fed908291)
> parent(s): ca5ac5ac490
> author: Michael Widenius
> committer: Michael Widenius
> timestamp: 2024-12-17 10:45:26 +0200
> message:
> 
> Added more information to errors reported by report_reply_packet()
> 
> In particular ""Read semi-sync reply magic number error" now prints out
> what was wrong with the packet.
> 
> @@ -622,7 +626,8 @@ int Repl_semi_sync_master::report_reply_packet(uint32 
> server_id,
>    log_file_len = packet_len - REPLY_BINLOG_NAME_OFFSET;
>    if (unlikely(log_file_len >= FN_REFLEN))
>    {
> -    sql_print_error("Read semi-sync reply binlog file length too large");
> +    sql_print_error("Read semi-sync reply binlog file length too large: 
> %llu",
> +                    (longlong) log_file_pos);

You used unsigned "%llu" but cast to a signed longlong.

Regards,
Sergei
Chief Architect, MariaDB Server
and secur...@mariadb.org
_______________________________________________
developers mailing list -- developers@lists.mariadb.org
To unsubscribe send an email to developers-le...@lists.mariadb.org

Reply via email to