Commit 139ce6cb authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

fix for 32bit system. Not meaninful for this test but volatile parameters replaced.

parent c8db0df2
...@@ -487,14 +487,14 @@ ANALYZE ...@@ -487,14 +487,14 @@ ANALYZE
"query_block": { "query_block": {
"select_id": 1, "select_id": 1,
"r_loops": 1, "r_loops": 1,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"having_condition": "(TOP > a)", "having_condition": "(TOP > a)",
"filesort": { "filesort": {
"r_loops": 1, "r_loops": 1,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"r_used_priority_queue": false, "r_used_priority_queue": false,
"r_output_rows": 0, "r_output_rows": 0,
"r_buffer_size": "5Kb", "volatile parameter": "REPLACED",
"temporary_table": { "temporary_table": {
"table": { "table": {
"table_name": "t2", "table_name": "t2",
...@@ -502,7 +502,7 @@ ANALYZE ...@@ -502,7 +502,7 @@ ANALYZE
"r_loops": 1, "r_loops": 1,
"rows": 256, "rows": 256,
"r_rows": 256, "r_rows": 256,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"filtered": 100, "filtered": 100,
"r_filtered": 100 "r_filtered": 100
} }
...@@ -517,13 +517,13 @@ ANALYZE ...@@ -517,13 +517,13 @@ ANALYZE
"query_block": { "query_block": {
"select_id": 1, "select_id": 1,
"r_loops": 1, "r_loops": 1,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"filesort": { "filesort": {
"r_loops": 1, "r_loops": 1,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"r_used_priority_queue": false, "r_used_priority_queue": false,
"r_output_rows": 256, "r_output_rows": 256,
"r_buffer_size": "5Kb", "volatile parameter": "REPLACED",
"temporary_table": { "temporary_table": {
"table": { "table": {
"table_name": "t2", "table_name": "t2",
...@@ -531,7 +531,7 @@ ANALYZE ...@@ -531,7 +531,7 @@ ANALYZE
"r_loops": 1, "r_loops": 1,
"rows": 256, "rows": 256,
"r_rows": 256, "r_rows": 256,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"filtered": 100, "filtered": 100,
"r_filtered": 100 "r_filtered": 100
} }
...@@ -557,13 +557,13 @@ ANALYZE ...@@ -557,13 +557,13 @@ ANALYZE
"query_block": { "query_block": {
"select_id": 1, "select_id": 1,
"r_loops": 1, "r_loops": 1,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"filesort": { "filesort": {
"r_loops": 1, "r_loops": 1,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"r_used_priority_queue": false, "r_used_priority_queue": false,
"r_output_rows": 256, "r_output_rows": 256,
"r_buffer_size": "5Kb", "volatile parameter": "REPLACED",
"temporary_table": { "temporary_table": {
"table": { "table": {
"table_name": "t2", "table_name": "t2",
...@@ -571,7 +571,7 @@ ANALYZE ...@@ -571,7 +571,7 @@ ANALYZE
"r_loops": 1, "r_loops": 1,
"rows": 256, "rows": 256,
"r_rows": 256, "r_rows": 256,
"r_total_time_ms": "REPLACED", "volatile parameter": "REPLACED",
"filtered": 100, "filtered": 100,
"r_filtered": 100 "r_filtered": 100
} }
......
...@@ -164,15 +164,15 @@ create table t2 ( ...@@ -164,15 +164,15 @@ create table t2 (
); );
insert into t2 select A.a*1000 + B.a, A.a*1000 + B.a from t0 A, t1 B; insert into t2 select A.a*1000 + B.a, A.a*1000 + B.a from t0 A, t1 B;
--echo # normal HAVING --echo # normal HAVING
--replace_regex /"r_total_time_ms": [0-9]*[.]?[0-9]*/"r_total_time_ms": "REPLACED"/ --replace_regex /"(r_total_time_ms|r_buffer_size)": .*?,/"volatile parameter": "REPLACED",/
analyze format=json select a, max(b) as TOP from t2 group by a having TOP > a; analyze format=json select a, max(b) as TOP from t2 group by a having TOP > a;
--echo # HAVING is always TRUE (not printed) --echo # HAVING is always TRUE (not printed)
--replace_regex /"r_total_time_ms": [0-9]*[.]?[0-9]*/"r_total_time_ms": "REPLACED"/ --replace_regex /"(r_total_time_ms|r_buffer_size)": .*?,/"volatile parameter": "REPLACED",/
analyze format=json select a, max(b) as TOP from t2 group by a having 1<>2; analyze format=json select a, max(b) as TOP from t2 group by a having 1<>2;
--echo # HAVING is always FALSE (intercepted by message) --echo # HAVING is always FALSE (intercepted by message)
--replace_regex /"r_total_time_ms": [0-9]*[.]?[0-9]*/"r_total_time_ms": "REPLACED"/ --replace_regex /"(r_total_time_ms|r_buffer_size)": .*?,/"volatile parameter": "REPLACED",/
analyze format=json select a, max(b) as TOP from t2 group by a having 1=2; analyze format=json select a, max(b) as TOP from t2 group by a having 1=2;
--echo # HAVING is absent --echo # HAVING is absent
--replace_regex /"r_total_time_ms": [0-9]*[.]?[0-9]*/"r_total_time_ms": "REPLACED"/ --replace_regex /"(r_total_time_ms|r_buffer_size)": .*?,/"volatile parameter": "REPLACED",/
analyze format=json select a, max(b) as TOP from t2 group by a; analyze format=json select a, max(b) as TOP from t2 group by a;
drop table t0, t1, t2; drop table t0, t1, t2;
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