Merge Only Mode
Merge Only Mode

Merge all of the files provided by SrcSpec without sorting any of them.


Define merge buffer allocation size
Constant definition
Notes
Shared with CheckMode
Segment Source
 169: /* Initial buffer size for in core merge buffers.  Bear in mind that
 170:    up to NMERGE * mergealloc bytes may be allocated for merge buffers. */
 171: static int mergealloc =  16 * 1024;
 172: 

Insert user message text
Text insertion
Segment Source
 228:   -m               merge already sorted files, do not sort\n\

Define merge only flag (mergeonly)
Variable definition
Segment Source
1721:   int checkonly = 0, mergeonly = 0, nfiles = 0;

Parse MergeMode option (-m)
Code insertion
Segment Source
1957:                   case 'm':
1958:                     mergeonly = 1;
1959:                     break;

Dispatch mergeonly option
Code insertion
Segment Source
2125:   if (mergeonly)
2126:     merge (files, nfiles, ofp);
2127:   else