Skip to content

Incorrect behaviour when operation on databases that are replaced on-disk #333

@criemen

Description

@criemen

Describe the bug
I often use the VScode extension to run queries on databases produced by codeql test run.
If I run a query on a database, then run codeql test run, and then run another queries I get "Severe disk cache trouble (corruption or out of space)" exceptions.

To Reproduce

  1. add database generated by codeql test run to the VScode extension, run a query on it.
  2. Execute codeql test run again.
  3. Execute query again

Expected behavior
Second query should execute on the new database without exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions