Re: Small fix on query_id_enabled

2024-02-13 Thread Yugo NAGATA
On Wed, 14 Feb 2024 07:21:54 +0900 Michael Paquier wrote: > On Tue, Feb 13, 2024 at 11:23:47PM +0800, Julien Rouhaud wrote: > > +1! > > Okay, applied as-is, then. Thank you! Regards, Yugo Nagata > -- > Michael -- Yugo NAGATA

Re: Small fix on query_id_enabled

2024-02-13 Thread Michael Paquier
On Tue, Feb 13, 2024 at 11:23:47PM +0800, Julien Rouhaud wrote: > +1! Okay, applied as-is, then. -- Michael signature.asc Description: PGP signature

Re: Small fix on query_id_enabled

2024-02-13 Thread Julien Rouhaud
On Tue, Feb 13, 2024 at 05:28:32PM +0900, Michael Paquier wrote: > On Tue, Feb 13, 2024 at 01:13:43AM +0900, Yugo NAGATA wrote: > > I attached an updated patch that adds comments noting to use > > IsQueryIdEnabled() > > instead of accessing the variables directly. > > Sounds good to me, thanks.

Re: Small fix on query_id_enabled

2024-02-13 Thread Michael Paquier
On Tue, Feb 13, 2024 at 01:13:43AM +0900, Yugo NAGATA wrote: > I attached an updated patch that adds comments noting to use > IsQueryIdEnabled() > instead of accessing the variables directly. Sounds good to me, thanks. -- Michael signature.asc Description: PGP signature

Re: Small fix on query_id_enabled

2024-02-12 Thread Yugo NAGATA
On Sat, 10 Feb 2024 10:19:15 +0900 Michael Paquier wrote: > On Fri, Feb 09, 2024 at 04:37:23PM +0800, Julien Rouhaud wrote: > > On Fri, Feb 09, 2024 at 03:38:23PM +0900, Yugo NAGATA wrote: > >> Also, I think the name is a bit confusing for the same reason, that is, > >> query_id_enabled may be

Re: Small fix on query_id_enabled

2024-02-09 Thread Michael Paquier
On Fri, Feb 09, 2024 at 04:37:23PM +0800, Julien Rouhaud wrote: > On Fri, Feb 09, 2024 at 03:38:23PM +0900, Yugo NAGATA wrote: >> Also, I think the name is a bit confusing for the same reason, that is, >> query_id_enabled may be false even when query id is computed in fact. >> >> Actually, this

Re: Small fix on query_id_enabled

2024-02-09 Thread Julien Rouhaud
Hi, On Fri, Feb 09, 2024 at 03:38:23PM +0900, Yugo NAGATA wrote: > > I found the comment on query_id_enabled looks inaccurate because this is > never set to true when compute_query_id is ON. > > /* True when compute_query_id is ON, or AUTO and a module requests them */ > bool

Small fix on query_id_enabled

2024-02-08 Thread Yugo NAGATA
Hi, I found the comment on query_id_enabled looks inaccurate because this is never set to true when compute_query_id is ON. /* True when compute_query_id is ON, or AUTO and a module requests them */ bool query_id_enabled = false; Should we fix this as following (just fixing the place of