mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Merge two assertions to make comment clearer
Authored by Tom Lane, after a gripe from James Coleman. Discussion: https://postgr.es/m/CAAaqYe9GD__4Crm=ddz+-XXcNhfY_V5gFYdLdmkFNq=2VHO56Q@mail.gmail.com
This commit is contained in:
parent
9b3c8f07ff
commit
bc98e1ea64
1 changed files with 2 additions and 2 deletions
|
|
@ -1186,8 +1186,8 @@ void
|
|||
tuplesort_set_bound(Tuplesortstate *state, int64 bound)
|
||||
{
|
||||
/* Assert we're called before loading any tuples */
|
||||
Assert(state->status == TSS_INITIAL);
|
||||
Assert(state->memtupcount == 0);
|
||||
Assert(state->status == TSS_INITIAL && state->memtupcount == 0);
|
||||
|
||||
Assert(!state->bounded);
|
||||
Assert(!WORKER(state));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue