mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed that caused failure in --ps binlog_encryption.rpl_gtid_basic
Problem was that replace_dynstr_append_mem() assumed strings are null terminated which is not always the case.
This commit is contained in:
@ -3002,7 +3002,8 @@ int select_send::send_data(List<Item> &items)
|
||||
|
||||
thd->inc_sent_row_count(1);
|
||||
|
||||
if (thd->vio_ok())
|
||||
/* Don't return error if disconnected, only if write fails */
|
||||
if (likely(thd->vio_ok()))
|
||||
DBUG_RETURN(protocol->write());
|
||||
|
||||
DBUG_RETURN(0);
|
||||
|
Reference in New Issue
Block a user