diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-07-27 11:02:57 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-07-27 11:02:57 +0200 |
commit | 3bb36e949534fc4a24d68d4297663ae8b80ba336 (patch) | |
tree | 09907f6c2e82d718f261323075ffb33cb350fef7 /storage/heap | |
parent | 9a897335eb4387980aed7698b832a893dbaa3d81 (diff) | |
parent | bd935a41060199a17019453d6e187e8edd7929ba (diff) | |
download | mariadb-git-3bb36e949534fc4a24d68d4297663ae8b80ba336.tar.gz |
Merge branch '10.3' into 10.4
Diffstat (limited to 'storage/heap')
-rw-r--r-- | storage/heap/hp_test1.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/heap/hp_test1.c b/storage/heap/hp_test1.c index 88eaf73f550..03054843c7e 100644 --- a/storage/heap/hp_test1.c +++ b/storage/heap/hp_test1.c @@ -30,7 +30,7 @@ static int flag=0,verbose=0,remove_ant=0,flags[50]; int main(int argc, char **argv) { - int i,j,error,deleted; + int i,j,error; HP_INFO *file; uchar record[128],key[32]; const char *filename; @@ -62,7 +62,6 @@ int main(int argc, char **argv) keyinfo[0].seg[0].null_bit= 0; keyinfo[0].flag = HA_NOSAME; - deleted=0; bzero((uchar*) flags,sizeof(flags)); printf("- Creating heap-file\n"); @@ -110,8 +109,6 @@ int main(int argc, char **argv) if (error || verbose) printf("key: %s delete: %d my_errno: %d\n",(char*) key,error,my_errno); flags[j]=0; - if (! error) - deleted++; } if (heap_check_heap(file,0)) { |