summaryrefslogtreecommitdiff
path: root/storage/myisam/sp_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/sp_test.c')
-rw-r--r--storage/myisam/sp_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/myisam/sp_test.c b/storage/myisam/sp_test.c
index 368c9dc2d5a..a33a6c8e743 100644
--- a/storage/myisam/sp_test.c
+++ b/storage/myisam/sp_test.c
@@ -70,6 +70,7 @@ int run_test(const char *filename)
uchar read_record[MAX_REC_LENGTH];
int upd=10;
ha_rows hrows;
+ page_range pages;
/* Define a column for NULLs and DEL markers*/
@@ -256,7 +257,7 @@ int run_test(const char *filename)
max_range.key= record+1;
max_range.length= 1000; /* Big enough */
max_range.flag= HA_READ_KEY_EXACT;
- hrows= mi_records_in_range(file, 0, &min_range, &max_range);
+ hrows= mi_records_in_range(file, 0, &min_range, &max_range, &pages);
printf(" %ld rows\n", (long) hrows);
if (mi_close(file)) goto err;