Commit 9f918b9c authored by Sergei Golubchik's avatar Sergei Golubchik

take into account scientific notation of floats in regex_replace

this fixes occasional main.cte_recursive failures
parent 31a9b3f4
...@@ -1510,7 +1510,7 @@ drop table t1; ...@@ -1510,7 +1510,7 @@ drop table t1;
--echo # MDEV-10773: ANALYZE for query with recursive CTE --echo # MDEV-10773: ANALYZE for query with recursive CTE
--echo # --echo #
--replace_regex /"r_total_time_ms": [0-9]*[.]?[0-9]*/"r_total_time_ms": "REPLACED"/ --replace_regex /"r_total_time_ms": [0-9]*[.]?[0-9]*(e[-+]?[0-9]+)?/"r_total_time_ms": "REPLACED"/
analyze format=json analyze format=json
with recursive src(counter) as with recursive src(counter) as
(select 1 (select 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment