mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-07-10 10:39:28 +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.