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

+1
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)