Commit ba01e04a authored by pem@mysql.com's avatar pem@mysql.com

Post-review fix. (BUG#15231)

parent 7817b998
......@@ -220,7 +220,7 @@ sp_rcontext::find_handler(uint sql_errno,
Only "exception conditions" are propagated to handlers in calling
contexts. If no handler is found locally for a "completion condition"
(warning or "not found") we will simply resume execution.
*/
*/
if (m_prev_runtime_ctx && IS_EXCEPTION_CONDITION(sqlstate) &&
level == MYSQL_ERROR::WARN_LEVEL_ERROR)
return m_prev_runtime_ctx->find_handler(sql_errno, level);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment