1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fix truncation of affected rows and insert id in select_insert::send_ok_packet

This commit is contained in:
Vladislav Vaintroub
2017-03-13 23:13:24 +00:00
parent 9dc10d5851
commit 98be67266d

View File

@ -3833,8 +3833,8 @@ bool select_insert::prepare_eof()
bool select_insert::send_ok_packet() {
char message[160]; /* status message */
ulong row_count; /* rows affected */
ulong id; /* last insert-id */
ulonglong row_count; /* rows affected */
ulonglong id; /* last insert-id */
DBUG_ENTER("select_insert::send_ok_packet");