From 00c469cb076ade29ec55d72f58564892d4d25bad Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 8 Oct 2025 17:14:59 +1100 Subject: [PATCH] [fixup] Remove an obsolete reference to SCOPE_EXIT in a comment This is a fixup of the 10.11->11.4 merge 426c2a6ca13999571ff83dadf4e71eafae39cde0 that SCOPE_EXIT from 10.11 did not survive --- sql/sql_union.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 2cb4301a8e5..95bf0733756 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -2484,7 +2484,7 @@ bool st_select_lex_unit::exec_inner() /* Temporarily deactivate LIMIT ROWS EXAMINED to avoid producing potentially incomplete result of the UNION due to exceeding of the limit. It will be - re-activated upon the function exit (see SCOPE_EXIT macro above) + re-activated upon the function exit */ const bool limit_rows_was_activated= thd->lex->deactivate_limit_rows_examined();