summaryrefslogtreecommitdiff
path: root/innobase/include/btr0cur.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2002-10-05 22:23:51 +0300
committerheikki@hundin.mysql.fi <>2002-10-05 22:23:51 +0300
commitcc1db6142fcb3a09b6b132d8a7c6a800a2e62c63 (patch)
tree1f65a91a8476086670563c066d7ad49e045cce3d /innobase/include/btr0cur.h
parenta9c9856f26c510bf8026f58110d34c5283207bd1 (diff)
downloadmariadb-git-cc1db6142fcb3a09b6b132d8a7c6a800a2e62c63.tar.gz
btr0cur.c:
Do not let range estimator to return over 1 / 2 of total rows in table; use longlong in range estimation btr0cur.h, ha_innobase.cc: Use longlong in range estimation, in case there are > 4 billion rows
Diffstat (limited to 'innobase/include/btr0cur.h')
-rw-r--r--innobase/include/btr0cur.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/include/btr0cur.h b/innobase/include/btr0cur.h
index b01cbd9a875..7039ceba245 100644
--- a/innobase/include/btr0cur.h
+++ b/innobase/include/btr0cur.h
@@ -417,7 +417,7 @@ btr_cur_parse_del_mark_set_sec_rec(
/***********************************************************************
Estimates the number of rows in a given index range. */
-ulint
+ib_longlong
btr_estimate_n_rows_in_range(
/*=========================*/
/* out: estimated number of rows */