Skip to content

BalancedTtsStatement.xq does not allow conditional abort #17

Description

@ibruynin

Is the following code pattern allowed?

{
ttsbegin;

if (condition) 
{
   ttsAbort;
   return;
}

ttsCommit;
}

Now the BalancedTtsStatement.xq rule complains about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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