tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
11.28k stars 286 forks source link

fix dump import/export to support libsql-wal #1447

Closed MarinPostma closed 5 months ago

MarinPostma commented 5 months ago

dump import/export was using raw sqlite connection, thus bypassing libsql-wal. This PR fixes it.

I have removed the CLI to export dump because we can't rely on raw files anymore with libql-wal. Instead, one should use the http endpoint to export a dump.