add '/' prefix to in-memory uuid addr

This commit is contained in:
kim 2024-05-01 21:13:23 +01:00
parent d723242cf3
commit d3a6c6de42
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ func buildSQLiteAddress(addr string) string {
// Use random name for in-memory instead of ':memory:', so
// multiple in-mem databases can be created without conflict.
addr = uuid.NewString()
addr = "/" + uuid.NewString()
prefs.Add("vfs", "memdb")
}