summaryrefslogtreecommitdiff
path: root/mysql-test/main/analyze_format_json.result
diff options
context:
space:
mode:
authorSergei Petrunia <sergey@mariadb.com>2022-07-25 11:44:10 +0300
committerSergei Petrunia <sergey@mariadb.com>2022-07-25 11:44:10 +0300
commit213772f99a109d3ea58fb40c5c48422d458366fa (patch)
tree2442c61a0928c61b8b7b9f942497f716df0f79c2 /mysql-test/main/analyze_format_json.result
parent2ccdfba8ee1af02ab17d4aff366a1c9d1883425b (diff)
downloadmariadb-git-213772f99a109d3ea58fb40c5c48422d458366fa.tar.gz
Revert the commit with MDEV-28926: Add time spent on query optimizer to JSON ANALYZEbb-10.10-spetrunia3
It will go into 10.11. Author: Luis Eduardo Oliveira Lizardo <108760288+mariadb-LuisLizardo@users.noreply.github.com> Date: Mon Jul 18 17:48:01 2022 +0200 MDEV-28926 Add time spent on query optimizer to JSON ANALYZE (#2193) * Add query optimizer timer to ANALYZE FORMAT=JSON * Adapt tests and results * Change logic to always close the writer after printing query blocks
Diffstat (limited to 'mysql-test/main/analyze_format_json.result')
-rw-r--r--mysql-test/main/analyze_format_json.result57
1 files changed, 0 insertions, 57 deletions
diff --git a/mysql-test/main/analyze_format_json.result b/mysql-test/main/analyze_format_json.result
index 9a756782f96..6c9b8ce2982 100644
--- a/mysql-test/main/analyze_format_json.result
+++ b/mysql-test/main/analyze_format_json.result
@@ -5,9 +5,6 @@ INSERT INTO t0 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
analyze format=json select * from t0 where a<3;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -41,9 +38,6 @@ analyze format=json
select * from t0, t1 where t1.a=t0.a and t0.a > 9;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -91,9 +85,6 @@ analyze format=json
select * from t0, t1 where t1.a=t0.a and t1.b<4;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -144,9 +135,6 @@ analyze format=json
select * from t1 tbl1, t1 tbl2 where tbl1.b<20 and tbl2.b<60;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -193,9 +181,6 @@ analyze format=json
select * from t1 tbl1, t1 tbl2 where tbl1.b<20 and tbl2.b<60 and tbl1.c > tbl2.c;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -251,9 +236,6 @@ insert into t2 values (0),(1);
analyze format=json select * from t1 straight_join t2 force index(a) where t2.a=t1.a;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -312,9 +294,6 @@ NULL
analyze format=json select * from test.t1 where t1.a<5;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -355,9 +334,6 @@ analyze format=json
update t1 set b=pk;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_total_time_ms": "REPLACED",
@@ -376,9 +352,6 @@ analyze format=json
select * from t1 where pk < 10 and b > 4;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -410,9 +383,6 @@ analyze format=json
delete from t1 where pk < 10 and b > 4;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_total_time_ms": "REPLACED",
@@ -456,9 +426,6 @@ select * from t1, t2 where (t2.key1 between t1.lb1 and t1.rb1) and
(t2.key3=t1.c1 OR t2.key4=t1.c2);
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -518,9 +485,6 @@ INSERT INTO t1 select * from t0;
analyze format=json (select * from t1 tbl1 where a<5) union (select * from t1 tbl2 where a in (2,3));
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"union_result": {
"table_name": "<union1,2>",
@@ -597,9 +561,6 @@ insert into t2 select A.a*1000 + B.a, A.a*1000 + B.a from t0 A, t1 B;
analyze format=json select a, max(b) as TOP from t2 group by a having TOP > a;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -637,9 +598,6 @@ ANALYZE
analyze format=json select a, max(b) as TOP from t2 group by a having 1<>2;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -676,9 +634,6 @@ ANALYZE
analyze format=json select a, max(b) as TOP from t2 group by a having 1=2;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"table": {
@@ -690,9 +645,6 @@ ANALYZE
analyze format=json select a, max(b) as TOP from t2 group by a;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -736,9 +688,6 @@ INSERT INTO t2 VALUES (3),(4);
ANALYZE FORMAT=JSON SELECT STRAIGHT_JOIN * FROM t1, t2 WHERE b IN ( SELECT a FROM t1 );
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -822,9 +771,6 @@ WHERE f3 IN ( 1, 2 )
GROUP BY sq ORDER BY gc;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,
@@ -942,9 +888,6 @@ create table t2 as select * from t1;
analyze format=json select a, (select t2.b from t2 where t2.a<t1.a order by t2.c limit 1) from t1 where t1.a<0;
ANALYZE
{
- "query_optimization": {
- "r_total_time_ms": "REPLACED"
- },
"query_block": {
"select_id": 1,
"r_loops": 1,