Skip to content

Commit de3e6e6

Browse files
committed
Missing DBUG_RETURN or DBUG_VOID_RETURN in Diagnostics_area::set_ok_status
1 parent 07be7a6 commit de3e6e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_error.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Diagnostics_area::set_ok_status(ulonglong affected_rows,
349349
with an OK packet.
350350
*/
351351
if (unlikely(is_error() || is_disabled()))
352-
return;
352+
DBUG_VOID_RETURN;
353353
/*
354354
When running a bulk operation, m_status will be DA_OK for the first
355355
operation and set to DA_OK_BULK for all following operations.

0 commit comments

Comments
 (0)