Skip to content

Bug: Running Data Manipulation Clauses yields different results depending on how often database is opened and closed #180

@andreasdamm-shure

Description

@andreasdamm-shure

Ladybug version

0.14.3

What operating system are you using?

Windows 11 and Amazon Linux 2023

What happened?

Running the given queries should delete all nodes and rels in the database. That behavior is observed when only opening the database once after creation, running the queries and then closing it.

When opening the database for each node to be modified and then closing it, many nodes are left undeleted but all the rels are gone.

Are there known steps to reproduce?

Unzip undead-nodes-bug.zip and run npm install.

Running "npm run good" creates undead-nodes.kz which when observed with the CLI contains no nodes.

Running "npm run bad" creates undead-nodes.kz which when observed with the CLI contains many nodes but no rels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingverifiedBug report has been verified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions