diff options
author | unknown <monty@mysql.com> | 2006-06-30 02:35:52 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2006-06-30 02:35:52 +0300 |
commit | 2226065b276ff42f2f34e3bf8cb7a294280c8531 (patch) | |
tree | 29ffb26ceb57114fe458abcaf7a0ef3a0b963af7 /heap | |
parent | 7bc46be138e7c2c95341ceaefb7571c88d4fb414 (diff) | |
parent | 77deeb7ee6b533f3cafac3524362cd783c79b2e8 (diff) | |
download | mariadb-git-2226065b276ff42f2f34e3bf8cb7a294280c8531.tar.gz |
Merge mysql.com:/home/my/mysql-4.1
into mysql.com:/home/my/mysql-5.0
include/my_global.h:
Auto merged
mysql-test/r/func_sapdb.result:
Auto merged
mysql-test/r/symlink.result:
Auto merged
mysql-test/t/func_sapdb.test:
Auto merged
mysys/my_handler.c:
Auto merged
sql/item_timefunc.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
strings/strtod.c:
Auto merged
mysql-test/r/func_time.result:
Manual merge
mysql-test/t/func_time.test:
Manual merge
Diffstat (limited to 'heap')
-rw-r--r-- | heap/hp_test1.c | 3 | ||||
-rw-r--r-- | heap/hp_test2.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/heap/hp_test1.c b/heap/hp_test1.c index dd696528eb8..1efa97842c7 100644 --- a/heap/hp_test1.c +++ b/heap/hp_test1.c @@ -44,6 +44,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; keyinfo[0].keysegs=1; keyinfo[0].seg=keyseg; @@ -58,7 +59,7 @@ int main(int argc, char **argv) bzero((gptr) flags,sizeof(flags)); printf("- Creating heap-file\n"); - if (heap_create(filename,1,keyinfo,30,(ulong) flag*100000l,10l, + if (heap_create(filename,1,keyinfo,30,(ulong) flag*100000L,101L, &hp_create_info) || !(file= heap_open(filename, 2))) goto err; diff --git a/heap/hp_test2.c b/heap/hp_test2.c index 2de49bcb66b..ff07b402f4d 100644 --- a/heap/hp_test2.c +++ b/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; |