You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trivial program below opens/creates a DB file, runs a query on sqlite_schema, closes the DB file, and exits. After exit it leaves behind '-shm' and '-wal' files which shouldn't happen on a clean shutdown.
If you comment-out the query and un-comment the create table command then there is no '-shm' or '-wal' after exit.
import'package:sqlite_async/sqlite_async.dart';
Future<void> main() async {
final db =SqliteDatabase(path:'txntest.db');
await db.initialize();
await db.getAll("SELECT * FROM sqlite_schema;");
//await db.execute("CREATE TABLE table1 (name TEXT UNIQUE NOT NULL);");await db.close();
}