diff options
author | unknown <bell@laptop.sanja.is.com.ua> | 2003-04-26 15:53:27 +0300 |
---|---|---|
committer | unknown <bell@laptop.sanja.is.com.ua> | 2003-04-26 15:53:27 +0300 |
commit | 4832d06f9251b3b0f26655efec90b3f2b745082e (patch) | |
tree | 072e9ef83e78d6bd8886201fc05976846d6f4b25 /sql/sql_insert.cc | |
parent | 55d9432da20da6b0811640be99b94e25e865a0bb (diff) | |
download | mariadb-git-4832d06f9251b3b0f26655efec90b3f2b745082e.tar.gz |
fixed incorrect number of affected rows in REPLACE...SELECT... (bug 130)
sql/sql_insert.cc:
fixed incorrect number of affected rows in REPLACE...SELECT...
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index ace15771449..0e7a487276d 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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; } |