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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user