summaryrefslogtreecommitdiff
path: root/storage/heap/hp_test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_test2.c')
-rw-r--r--storage/heap/hp_test2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/hp_test2.c b/storage/heap/hp_test2.c
index a74872dbd11..8d2a8bc3da2 100644
--- a/storage/heap/hp_test2.c
+++ b/storage/heap/hp_test2.c
@@ -469,7 +469,7 @@ int main(int argc, char *argv[])
#endif
printf("- Read through all records with scan\n");
- if (heap_extra(file,HA_EXTRA_RESET) || heap_extra(file,HA_EXTRA_CACHE))
+ if (heap_reset(file) || heap_extra(file,HA_EXTRA_CACHE))
{
puts("got error from heap_extra");
goto end;