Skip to content

Commit f19f186

Browse files
Jakub Łopuszańskidahlerlend
authored andcommitted
Post-push fix for Bug#37548045 Trx_by_id_with_min::insert() during get_better_lower_bound_for_already_active_id() can lead to wrong s_lower_bound
The doxygen contained "upper_bound<a" fragment which tripped some versions of doxygen to think its an openning of an <A> HTML tag. The fix is to add spaces around <. Change-Id: Ia543ab5190a9610b5abcacf9c3aebab1c37d437f
1 parent 5fafac1 commit f19f186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/include/trx0sys.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ class Trx_by_id_with_min {
580580
The reason we don't use an std::mutex, is that we don't wish to wait, nor
581581
spin, we just want to give up when somebody else already works on it. */
582582
static std::atomic<bool> s_updating_lower_bound;
583-
/** Performs an equivalent of if(upper_bound<a)a=upper_bound atomically,
583+
/** Performs an equivalent of if(upper_bound < a) a=upper_bound atomically,
584584
ignoring, but preserving the UPDATING_LOWER_BOUND flag.
585585
@param[in] a The atomic we want to limit to upper_bound
586586
@param[in] upper_bound The upper_bound we want to impose on a */

0 commit comments

Comments
 (0)