Wrong TIME value from a long string

Description

This query

correctly adjusts (with a warning) the results to the maximum supported
value. However, if the string gets longer, it does not work any more:

The last query should be fixed to adjust the TIME value and produce a warning.

Environment

None

Status

Assignee

Alexander Barkov

Reporter

Alexander Barkov

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Affects versions

Priority

Minor
Configure