mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-01-21 01:35:11 +00:00
58e2a756dd
Earlier, we cached every page in a transaction even if it was not required. This patch changes that behaviour, we add to local cache only if we expect more pages in the transaction. if the call is for commit, then we directly insert in the storage server.