summaryrefslogtreecommitdiff
path: root/innobase/btr/btr0cur.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/btr/btr0cur.c')
-rw-r--r--innobase/btr/btr0cur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c
index c4960b7af80..e1fe5ba8771 100644
--- a/innobase/btr/btr0cur.c
+++ b/innobase/btr/btr0cur.c
@@ -2624,7 +2624,7 @@ btr_estimate_n_rows_in_range(
then we estimate all rows are in the range */
if (n_rows == 0) {
- n_rows = index->table->stat_n_rows / 2;
+ n_rows = index->table->stat_n_rows;
}
}