From 623d0001a97528dfeeb41e13a5599959bde14d85 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sun, 10 Sep 2023 18:31:34 -0600 Subject: [PATCH] fix this test --- src/component/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/test.cpp b/src/component/test.cpp index a789266..a2d4e2c 100644 --- a/src/component/test.cpp +++ b/src/component/test.cpp @@ -49,7 +49,7 @@ namespace test } { - SQLite::Database db("test.db3", SQLite::OPEN_READWRITE|SQLite::OPEN_CREATE); + SQLite::Database db(":memory:", SQLite::OPEN_READWRITE); db.exec("CREATE TABLE test (id INTEGER PRIMARY KEY, value TEXT, weight INTEGER)"); db.exec("INSERT INTO test VALUES (NULL, \"first\", 3)");