[MDEV-29598] long_query_time description refers to its old name Created: 2022-09-21  Updated: 2022-09-26  Resolved: 2022-09-26

Status: Closed
Project: MariaDB Server
Component/s: Variables
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MDEV-7567 rename slow queries variables Closed

 Description   

long_query_time description says:

VARIABLE_COMMENT: Alias for log_slow_query_time. Log all queries that have taken more than long_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision

while for log_slow_query_time it says

VARIABLE_COMMENT: Log all queries that have taken more than log_slow_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision

So, the old description refers to the old name, and the new description to the new name. It is not entirely illogical, but it would be probably even more logical if the descriptions for aliases were identical (except for the "Alias for ..." part), and the description for long_query_time used the new name.
Alternatively, they could use no name at all, and refer to themselves as "this value" or alike, some other descriptions do so.


Generated at Thu Feb 08 10:09:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.