← Back to team overview

maria-developers team mailing list archive

Re: a6e96ce3c96: MDEV-21916: COM_STMT_BULK_EXECUTE with RETURNING insert wrong values

 

Hi, Oleksandr!

ok to push!

On Jul 12, Oleksandr Byelkin wrote:
> revision-id: a6e96ce3c96 (mariadb-10.5.4-666-ga6e96ce3c96)
> parent(s): f4425d3a3db
> author: Oleksandr Byelkin <sanja@xxxxxxxxxxx>
> committer: Oleksandr Byelkin <sanja@xxxxxxxxxxx>
> timestamp: 2021-06-09 10:43:24 +0200
> message:
> 
> MDEV-21916: COM_STMT_BULK_EXECUTE with RETURNING insert wrong values
> 
> The problem is that array binding uses net buffer to read parameters for each
> execution while each execiting with RETURNING write in the same buffer.
> 
> Solution is to allocate new net buffer to avoid changing buffer we are reading
> from.
 
Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx