summaryrefslogtreecommitdiff
path: root/storage/heap
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-06-19 12:45:34 +0300
committermonty@mysql.com <>2006-06-19 12:45:34 +0300
commit860661a2dc5905396f1e6ee4b163bdf29dc2b6fe (patch)
treeb1eef84ec3b6195237d928b1ebea0aaa0acf90a7 /storage/heap
parent37d7bbb335fd3d3c578a724790ce5f5cbc049ce9 (diff)
downloadmariadb-git-860661a2dc5905396f1e6ee4b163bdf29dc2b6fe.tar.gz
unsigned char -> uchar
Added missing copyright Indentation and prototype fixes Fixed compiler warning
Diffstat (limited to 'storage/heap')
-rw-r--r--storage/heap/hp_extra.c2
-rw-r--r--storage/heap/hp_test2.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/storage/heap/hp_extra.c b/storage/heap/hp_extra.c
index abb632707f2..0211177a088 100644
--- a/storage/heap/hp_extra.c
+++ b/storage/heap/hp_extra.c
@@ -57,6 +57,7 @@ int heap_reset(HP_INFO *info)
info->current_record= (ulong) ~0L;
info->current_hash_ptr=0;
info->update=0;
+ info->next_block=0;
return 0;
}
@@ -83,4 +84,3 @@ static void heap_extra_keyflag(register HP_INFO *info,
}
}
}
-
diff --git a/storage/heap/hp_test2.c b/storage/heap/hp_test2.c
index 8d2a8bc3da2..c1d987a3b5f 100644
--- a/storage/heap/hp_test2.c
+++ b/storage/heap/hp_test2.c
@@ -74,6 +74,7 @@ int main(int argc, char *argv[])
get_options(argc,argv);
bzero(&hp_create_info, sizeof(hp_create_info));
+ hp_create_info.max_table_size= 1024L*1024L;
write_count=update=opt_delete=0;
key_check=0;