spv: Run Python at build time via $PYTHON variable.
[pspp] / src / language / stats / sort-cases.c
index f44656fda54b9e14fcf78cb50f0d9cb4495d03c8..603a341d6ef53c23a6e87c50bd53a0010f12e08f 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <limits.h>
 #include <stdlib.h>
 #include <sys/types.h>
@@ -69,7 +68,7 @@ cmd_sort_cases (struct lexer *lexer, struct dataset *ds)
     }
 
   proc_discard_output (ds);
-  output = sort_execute (proc_open (ds), &ordering);
+  output = sort_execute (proc_open_filtering (ds, false), &ordering);
   ok = proc_commit (ds);
   ok = dataset_set_source (ds, output) && ok;