Skip to content

Check health of db when saving database #1552

Open

Description

@pamtbaau

Describe the new feature

Recently, an error was thrown on closing the modify table panel, telling the db failed to pass an integrity check. Ouch... It seems I have been able to corrupt the db some how without noticing.

Would it be an idea to check the health of the db on writing/saving the database? I could imagine a preference setting with values: "Ask", "Always", "Never". A popup on save would ask if the checks should be performed if the settings was set to "Ask". The popup question might be enhanced with a "Don't ask again" checkbox.

Additional info

Please answer these questions before submitting your feature request.

Is your feature request related to an issue? Please include the issue number.

Not really

Does this feature exist in another product or project? Please provide a link.

Dunno

Do you have a screenshot? Please add screenshots to help explain your idea.

No I haven't

Activity

  1. assigned and unassigned on Oct 1, 2018
  2. mgrojo commented on Oct 1, 2018

    @mgrojo
    Member

    Thanks @pamtbaau.

    Additional context in #1547.

  3. chrisjlocke commented on Oct 16, 2018

    @chrisjlocke
    Member

    How about when opening a database too? Nothing worse than opening a database from a location, spending an hour working on it, only to find it fails a check when saving, because the original was faulty...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions