Bug #89462 The unit of regexp_time_limit should be described in doc
Submitted: 30 Jan 2018 6:40 Modified: 2 Feb 2018 13:44
Reporter: Tsubasa Tanaka (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[30 Jan 2018 6:40] Tsubasa Tanaka
Description:
regex_time_limit system variable doesn't describe what is its time-unit.
mysqld --help --verbose describes regex_time_limit's time-unit is "typically on the order of milliseconds".

icu::RegexMatcher::setTimeLimit describes "typically on the order of milliseconds" too.

http://icu-project.org/apiref/icu4c/classicu_1_1RegexMatcher.html#a6ebcfcab4fe6a38678c0291...

MySQL doc should describe that.

How to repeat:
See https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_li...

```
$ /usr/mysql/8.0.4/bin/mysqld --no-defaults --help --verbose | grep -A2 regexp-time-limit
..
  --regexp-time-limit=#
                      Timeout for regular expressions matches, in steps of the
                      match engine, typically on the order of milliseconds.
--
..
```

Suggested fix:
Append "typically on the order of milliseconds" into current description.
[30 Jan 2018 6:57] MySQL Verification Team
Hello Tanaka-San,

Thank you for the report and feedback!

Thanks,
Umesh
[2 Feb 2018 13:44] Paul DuBois
Posted by developer:
 
Updated:

* https://dev.mysql.com/doc/refman/8.0/en/regexp.html#regexp-resource-control
* https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_li...