diff options
Diffstat (limited to 'storage/myisam/rt_test.c')
-rw-r--r-- | storage/myisam/rt_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/myisam/rt_test.c b/storage/myisam/rt_test.c index 353e20951cd..11e824a8893 100644 --- a/storage/myisam/rt_test.c +++ b/storage/myisam/rt_test.c @@ -113,6 +113,7 @@ static int run_test(const char *filename) uchar read_record[MAX_REC_LENGTH]; int upd= 10; ha_rows hrows; + page_range pages; bzero(&uniquedef, sizeof(uniquedef)); bzero(&create_info, sizeof(create_info)); @@ -335,7 +336,7 @@ static int run_test(const char *filename) range.key= record+1; range.length= 1000; /* Big enough */ range.flag= HA_READ_MBR_INTERSECT; - hrows= mi_records_in_range(file, 0, &range, (key_range*) 0); + hrows= mi_records_in_range(file, 0, &range, (key_range*) 0, &pages); printf(" %ld rows\n", (long) hrows); if (mi_close(file)) goto err; |