Skip to content

Commit b64bc8e

Browse files
committed
Add assertion on incorrect number of rows in storing AQO data record.
1 parent 2f4ce3c commit b64bc8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,7 @@ aqo_data_store(uint64 fs, int fss, AqoDataArgs *data, List *reloids)
13451345
int nrels = is_raw_data ? data->nrels : list_length(reloids);
13461346

13471347
Assert(!LWLockHeldByMe(&aqo_state->data_lock));
1348+
Assert(data->rows > 0);
13481349

13491350
dsa_init();
13501351

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy