projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Fix crash in executor when inline data is missing.
[pspp]
/
src
/
language
/
stats
/
rank.q
diff --git
a/src/language/stats/rank.q
b/src/language/stats/rank.q
index 2a0b5c99c9370a93aea3389425ccd304aaf913a8..91ef1861366c35d226626315bbef8e52b3afc7ec 100644
(file)
--- a/
src/language/stats/rank.q
+++ b/
src/language/stats/rank.q
@@
-280,7
+280,7
@@
rank_cmd (struct dataset *ds, const struct subcase *sc,
}
ok = casegrouper_destroy (split_grouper);
ok = proc_commit (ds) && ok;
}
ok = casegrouper_destroy (split_grouper);
ok = proc_commit (ds) && ok;
- ok = (
proc_set_active_file_data
(ds, casewriter_make_reader (output))
+ ok = (
dataset_set_source
(ds, casewriter_make_reader (output))
&& ok);
if (!ok)
break;
&& ok);
if (!ok)
break;
@@
-772,7
+772,7
@@
cmd_rank (struct lexer *lexer, struct dataset *ds)
/* Do the ranking */
result = rank_cmd (ds, &sc, rank_specs, n_rank_specs);
/* Do the ranking */
result = rank_cmd (ds, &sc, rank_specs, n_rank_specs);
- /* Put the active
file
back in its original order. Delete
+ /* Put the active
dataset
back in its original order. Delete
our sort key, which we don't need anymore. */
{
struct casereader *sorted;
our sort key, which we don't need anymore. */
{
struct casereader *sorted;
@@
-784,7
+784,7
@@
cmd_rank (struct lexer *lexer, struct dataset *ds)
result = proc_commit (ds) && result;
dict_delete_var (dataset_dict (ds), order);
result = proc_commit (ds) && result;
dict_delete_var (dataset_dict (ds), order);
- result =
proc_set_active_file_data
(ds, sorted) && result;
+ result =
dataset_set_source
(ds, sorted) && result;
}
rank_cleanup();
}
rank_cleanup();