Skip to content

Commit

Permalink
MDEV-17903: New optimizer defaults: change optimize_join_buffer_size …
Browse files Browse the repository at this point in the history
…to be ON

optimize_join_buffer_size is switched ON.
  • Loading branch information
Varun Gupta committed Feb 19, 2019
1 parent f2f0c20 commit d6db6df
Show file tree
Hide file tree
Showing 19 changed files with 138 additions and 123 deletions.
10 changes: 5 additions & 5 deletions mysql-test/main/analyze_format_json.result
Expand Up @@ -143,7 +143,7 @@ ANALYZE
"attached_condition": "tbl2.b < 60"
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "1Kb",
"join_type": "BNL",
"r_filtered": 100
}
Expand Down Expand Up @@ -181,7 +181,7 @@ ANALYZE
"attached_condition": "tbl2.b < 60"
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "1Kb",
"join_type": "BNL",
"attached_condition": "tbl1.c > tbl2.c",
"r_filtered": 15.833
Expand Down Expand Up @@ -625,7 +625,7 @@ ANALYZE
"attached_condition": "<in_optimizer>(t2.b,t2.b in (subquery#2))"
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "65",
"join_type": "BNL",
"attached_condition": "<in_optimizer>(t2.b,t2.b in (subquery#2))",
"r_filtered": null
Expand Down Expand Up @@ -711,7 +711,7 @@ ANALYZE
"attached_condition": "t3.f3 in (1,2)"
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "1",
"join_type": "BNL",
"r_filtered": null
},
Expand Down Expand Up @@ -742,7 +742,7 @@ ANALYZE
"r_filtered": null
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "65",
"join_type": "BNL",
"attached_condition": "t2.f2 = t3.f3",
"r_filtered": null
Expand Down
6 changes: 3 additions & 3 deletions mysql-test/main/analyze_stmt_orderby.result
Expand Up @@ -426,7 +426,7 @@ ANALYZE
"r_filtered": 100
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "65",
"join_type": "BNL",
"attached_condition": "t3.a = t0.a",
"r_filtered": 10
Expand Down Expand Up @@ -497,7 +497,7 @@ ANALYZE
"r_filtered": 100
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "119",
"join_type": "BNL",
"attached_condition": "t5.a = t6.a",
"r_filtered": 21.429
Expand Down Expand Up @@ -537,7 +537,7 @@ EXPLAIN
"filtered": 100
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "119",
"join_type": "BNL",
"attached_condition": "t5.a = t6.a"
}
Expand Down
12 changes: 6 additions & 6 deletions mysql-test/main/cte_recursive.result
Expand Up @@ -1409,7 +1409,7 @@ EXPLAIN
"filtered": 100
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"buffer_size": "686",
"join_type": "BNL",
"attached_condition": "prev_gen.father = folks.`id` or prev_gen.mother = folks.`id`"
}
Expand Down Expand Up @@ -1636,16 +1636,16 @@ i div 4 - (i % 4) = ps.i div 4 - (ps.i % 4)
)
SELECT regexp_replace(board,concat('(',REPEAT('.', 4),')'),'\\1\n') n_queens FROM solutions WHERE n_queens = 4;
n_queens
-*--
---*
*---
--*-

--*-
*---
---*
-*--

-*--
---*
*---
--*-

#
# MDEV-10883: execution of prepared statement from SELECT
# with recursive CTE that renames columns
Expand Down

0 comments on commit d6db6df

Please sign in to comment.