Skip to content

BalancedTtsStatement.xq does not allow conditional abort #17

@ibruynin

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions