Skip to content

belt throws a Programming exception for a malformed query when sequences are empty #241

@vjeeva

Description

@vjeeva

When performing a sequence dump and load, if there are no sequences to dump the dump command runs fine but the load function errors out saying we have a malformed query.

This malformed query comes from there being no sequences to dump (happened on some empty databases that shouldn't have been involved anyways but still).

Please alter the code so when it runs into empty sequences - load at least calls that out or the thrown error says there were no sequences to load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions