1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Two bug fixes

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-10-12 21:36:39 +03:00
parent 3805a5edfe
commit 7ba2242803
5 changed files with 32 additions and 3 deletions

View File

@@ -768,7 +768,7 @@ bool multi_update::send_eof()
thd->proc_info="updating the reference tables";
/* Does updates for the last n - 1 tables, returns 0 if ok */
int error = do_updates(false); /* do_updates returns 0 if success */
int error = (num_updated > 1) ? do_updates(false) : 0; /* do_updates returns 0 if success */
/* reset used flags */
#ifndef NOT_USED