1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixed incorrect number of affected rows in REPLACE...SELECT... (bug 130)

This commit is contained in:
bell@laptop.sanja.is.com.ua
2003-04-26 15:53:27 +03:00
parent 2ad37c0632
commit ed1b48185a
2 changed files with 2 additions and 1 deletions

View File

@ -1392,7 +1392,7 @@ bool select_insert::send_eof()
thd->cuted_fields);
if (last_insert_id)
thd->insert_id(last_insert_id); // For update log
::send_ok(&thd->net,info.copied,last_insert_id,buff);
::send_ok(&thd->net,info.copied+info.deleted,last_insert_id,buff);
mysql_update_log.write(thd,thd->query,thd->query_length);
return 0;
}