diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2018-12-30 11:36:37 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2018-12-30 11:36:37 +0300 |
commit | 6db0b0f64a3bd6e647e8f1d111d4a526f14fc998 (patch) | |
tree | 4a12066a87315e1a8b35aa4b1cb05cc45da36d68 | |
parent | 588c5aea9cf5eda0bb4dc29437c467ddf39eac6e (diff) | |
download | mariadb-git-6db0b0f64a3bd6e647e8f1d111d4a526f14fc998.tar.gz |
Better commentbb-10.1-mdev17761
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index d106a49bda8..9a5de677b40 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -25962,7 +25962,7 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table, for (uint i= tablenr+1; i < join->table_count; i++) { fanout*= join->best_positions[i].records_read; // fanout is always >= 1 - // But selectivity is =< 1 : + // But selectivity is 1 or less : fanout*= join->best_positions[i].cond_selectivity; } } |