File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2357,11 +2357,6 @@ inittapes(Tuplesortstate *state)
2357
2357
2358
2358
if (state -> replaceActive )
2359
2359
{
2360
- #ifdef TRACE_SORT
2361
- if (trace_sort )
2362
- elog (LOG , "replacement selection will sort %d first run tuples" ,
2363
- state -> memtupcount );
2364
- #endif
2365
2360
/*
2366
2361
* Convert the unsorted contents of memtuples[] into a heap. Each
2367
2362
* tuple is marked as belonging to run number zero.
@@ -2372,6 +2367,11 @@ inittapes(Tuplesortstate *state)
2372
2367
*/
2373
2368
int ntuples = state -> memtupcount ;
2374
2369
2370
+ #ifdef TRACE_SORT
2371
+ if (trace_sort )
2372
+ elog (LOG , "replacement selection will sort %d first run tuples" ,
2373
+ state -> memtupcount );
2374
+ #endif
2375
2375
state -> memtupcount = 0 ; /* make the heap empty */
2376
2376
2377
2377
for (j = 0 ; j < ntuples ; j ++ )
You can’t perform that action at this time.
0 commit comments