diff options
author | monty@bitch.mysql.fi <> | 2001-11-28 02:55:52 +0200 |
---|---|---|
committer | monty@bitch.mysql.fi <> | 2001-11-28 02:55:52 +0200 |
commit | d0ccff50907e7b04f0d14ad95f359dc23e6dc294 (patch) | |
tree | 40e5d73c964ca6aeb5e0e7d4294e70216edaa397 /isam/test3.c | |
parent | d3288575de18b38179961a8acf93ba883a90e652 (diff) | |
download | mariadb-git-d0ccff50907e7b04f0d14ad95f359dc23e6dc294.tar.gz |
New improved IO_CACHE
Diffstat (limited to 'isam/test3.c')
-rw-r--r-- | isam/test3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isam/test3.c b/isam/test3.c index 935c194106d..95e1a2a68cd 100644 --- a/isam/test3.c +++ b/isam/test3.c @@ -172,7 +172,7 @@ void start_test(int id) } if (key_cacheing && rnd(2) == 0) init_key_cache(65536L,(uint) IO_SIZE*4*10); - printf("Process %d, pid: %d\n",id,getpid()); fflush(stdout); + printf("Process %d, pid: %d\n",id,(int) getpid()); fflush(stdout); for (error=i=0 ; i < tests && !error; i++) { @@ -356,7 +356,7 @@ int test_write(N_INFO *file,int id,int lock_type) nisam_extra(file,HA_EXTRA_WRITE_CACHE); } - sprintf(record.id,"%7d",getpid()); + sprintf(record.id,"%7d",(int) getpid()); strmov(record.text,"Testing..."); tries=(uint) rnd(100)+10; |