mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-02-23 10:26:51 +00:00
If a database is empty, the pagerUseWal() returns false. In that case, make libsql_wal_frame_count() return zero instead of a logic error.