Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

1.12 moves database location #335

Open
adriaandegroot opened this issue Sep 1, 2018 · 3 comments
Open

1.12 moves database location #335

adriaandegroot opened this issue Sep 1, 2018 · 3 comments

Comments

@adriaandegroot
Copy link

In 1.11, the database (on a FreeBSD system, anyway) lived at .local/share/data/KDAB/Charm/Charm.db, but now at .local/share/KDAB/Charm/Charm_debug.db. This leads to something that looks like data loss (because on starting the upgraded Charm, it doesn't find the database and so starts anew).

@adriaandegroot
Copy link
Author

(I should add that this. and #334, assume that Charm is intended as a product for third-party consumption)

@TheOneRing
Copy link
Contributor

Hm the debug suffix should only be set in full debug builds, meant for developing.
The suffix should prevent data loss by not working on your production db when testing new features.

@adriaandegroot
Copy link
Author

I see. Previous version didn't do that when built normally -- and FreeBSD packaging tends to leave the build type unspecified. I'll add the build type and see what happens.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants