[Commits] b01a8222582: MDEV-23677: Optimizer trace: remove print out with "no predicate for first keypart"
revision-id: b01a8222582e1e05c166b0079113091ae19eb23c (mariadb-10.5.2-471-gb01a8222582) parent(s): c236f69d95321663c597a06f6e4e7ec440443ea5 author: Varun Gupta committer: Sergei Petrunia timestamp: 2021-03-17 21:05:41 +0300 message: MDEV-23677: Optimizer trace: remove print out with "no predicate for first keypart" --- sql/sql_select.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 28b4a5f9b36..73ea7eb201d 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -7869,11 +7869,7 @@ best_access_path(JOIN *join, tmp= COST_MULT(tmp, record_count); } else - { - if (!(found_part & 1)) - cause= "no predicate for first keypart"; tmp= best_time; // Do nothing - } } tmp= COST_ADD(tmp, s->startup_cost);
participants (1)
-
psergey