Skip to content

Commit e719f59

Browse files
committed
Extra assert
1 parent 92f42d5 commit e719f59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tuplesort15.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,6 +2930,7 @@ selectnewtape(Tuplesortstate *state)
29302930
* run, until maxTapes is reached. After that, we assign new runs to the
29312931
* existing tapes in a round robin fashion.
29322932
*/
2933+
Assert(state->maxTapes >= 1);
29332934
if (state->nOutputTapes < state->maxTapes)
29342935
{
29352936
/* Create a new tape to hold the next run */

0 commit comments

Comments
 (0)