-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File named file::memory:?cache=shared
is created in the home directory on GUI launch
#857
Comments
I don't have that file on my home, and the URI is specified here: https://www.sqlite.org/inmemorydb.html Can you post the items of the entry |
I do have that file on Manjaro though.. hmm, I'll investigate it. |
removing |
[database]
file=:memory:
max_days=1
purge_interval=5
purge_oldest=false
type=0 Seems like the value of the [database]
file="file::memory:?cache=shared"
type=0 |
According to the documentation, using a
The only db name that it doesn't write a file to disk is So I'll think another way of doing this. |
Note: this behaviour does not occur on ubuntu 20.04 (libsqlite 3.31.1-4, libqt5sql5 5.12.18, libqt5sql5-sqlite 5.12.18) |
I've reverted this change, because it was behaving as if you were using a DB from disk. So if users want to delete old events, now they'll have to save events to disk. |
Describe the bug
A file named
file::memory:?cache=shared
is created in the home directory when the GUI is launched.Linux qwerty 6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000 x86_64 GNU/Linux
To Reproduce
~/file::memory:?cache=shared
, if it exists - delete itPost error logs:
-
Expected behavior (optional)
If I understand correctly, this is supposed to create the file in-memory or in a temporary directory (#844).
Screenshots
-
Additional context
Looks like a regression introduced in 5b5e271.
The text was updated successfully, but these errors were encountered: