In lsmtest, use an empty string instead of ":memory:" when requesting a

temporary database from SQLite. This prevents other test code from trying to
unlink() ":memory:", which fails on win32.

FossilOrigin-Name: 281ad505d7a112c5524ea9fb195dfc46f819a58f79f42b37b12fbfe46a089ff2
This commit is contained in:
dan
2017-07-07 16:09:24 +00:00
parent d429ec222c
commit 3bc909b0af
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ int testControlDb(TestDb **ppDb){
#ifdef HAVE_KYOTOCABINET
return tdb_open("kyotocabinet", "tmp.db", 1, ppDb);
#else
return tdb_open("sqlite3", ":memory:", 1, ppDb);
return tdb_open("sqlite3", "", 1, ppDb);
#endif
}