Function reading_an_empty_store_yields_nothing
pub async fn reading_an_empty_store_yields_nothing<F: Fixture>(
open: impl AsyncFn() -> F,
) -> RuleOutcomeExpand description
A store nobody has appended to reads as empty, and does not error.
ES-9’s degenerate end. Every other rule in the suite seeds the store
before it reads, so the state every adapter is in on its first run is
the one state nothing exercised. The read options are exercised too,
because the arithmetic that breaks here is a paging window’s: ES-11
prescribes anchoring the window on the store’s head at the first poll, and
on an empty store there is no head. NullHeadPagingStore is that adapter,
decoding max(position) — which is NULL over no rows — into a column
type that cannot hold it.