|
Lines 259-265
Link Here
|
| 259 |
for (i=0 ; i < recant ; i++) |
259 |
for (i=0 ; i < recant ; i++) |
| 260 |
{ |
260 |
{ |
| 261 |
ulong blob_length; |
261 |
ulong blob_length; |
| 262 |
n1=rnd(1000); n2=rnd(100); n3=rnd(5000); |
262 |
n1=rnd(1000); n2=rnd(100); n3=rnd(4999); |
| 263 |
sprintf((char*) record,"%6d:%4d:%8d:Pos: %4d ",n1,n2,n3,write_count); |
263 |
sprintf((char*) record,"%6d:%4d:%8d:Pos: %4d ",n1,n2,n3,write_count); |
| 264 |
int4store(record+STANDARD_LENGTH-4,(long) i); |
264 |
int4store(record+STANDARD_LENGTH-4,(long) i); |
| 265 |
fix_length(record,(uint) STANDARD_LENGTH+rnd(60)); |
265 |
fix_length(record,(uint) STANDARD_LENGTH+rnd(60)); |
|
Lines 374-380
Link Here
|
| 374 |
|
374 |
|
| 375 |
for (i=0 ; i < update_count ; i++) |
375 |
for (i=0 ; i < update_count ; i++) |
| 376 |
{ |
376 |
{ |
| 377 |
n1=rnd(1000); n2=rnd(100); n3=rnd(5000); |
377 |
n1=rnd(1000); n2=rnd(100); n3=rnd(4999); |
| 378 |
sprintf((char*) record2,"%6d:%4d:%8d:XXX: %4d ",n1,n2,n3,update); |
378 |
sprintf((char*) record2,"%6d:%4d:%8d:XXX: %4d ",n1,n2,n3,update); |
| 379 |
int4store(record2+STANDARD_LENGTH-4,(long) i); |
379 |
int4store(record2+STANDARD_LENGTH-4,(long) i); |
| 380 |
fix_length(record2,(uint) STANDARD_LENGTH+rnd(60)); |
380 |
fix_length(record2,(uint) STANDARD_LENGTH+rnd(60)); |