MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Konstantin Osipov Date:August 25 2009 5:01pm
Subject:Re: bzr commit into mysql-5.4 branch (magne.mahre:2877) Bug#46374
View as plain text  
* Magne Mahre <Magne.Mahre@stripped> [09/08/25 16:53]:
>  2877 Magne Mahre	2009-08-25
>       Bug #46374 crash, INSERT INTO t1 uses function, function modifies t1
>       An error occuring in the execution of a stored procedure, called
>       from do_select is masked, since the error condition is not
>       propagated back to the caller (join->conds->val_int() returns
>       a result value, and not an error code)

I think you should check for thd->is_error() right
after sub_select() loop, where the error is ignored,
and set loop status to NESTED_LOOP_ERROR.

That will switch execution to "cleanup-after-error" branch.

Your current code just makes sure that we don't send "EOF" in OK
branch, which is not fully correct.

bzr commit into mysql-5.4 branch (magne.mahre:2877) Bug#46374Magne Mahre25 Aug
  • Re: bzr commit into mysql-5.4 branch (magne.mahre:2877) Bug#46374Konstantin Osipov25 Aug