blib/lib/Pg/SQL/PrettyPrinter/Node/LockingClause.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
50 | 0 | 10 | unless $self->{'strength'} =~ /\ALCS_FOR(?:KEYSHARE|NOKEYUPDATE|SHARE|UPDATE)\z/u |
51 | 0 | 10 | unless $self->{'waitPolicy'} =~ /\ALockWait(?:Block|Error|Skip)\z/u |
68 | 8 | 12 | if (exists $self->{'lockedRels'}) |
71 | 4 | 16 | if ($self->{'waitPolicy'} eq 'LockWaitError') { } |
4 | 12 | elsif ($self->{'waitPolicy'} eq 'LockWaitSkip') { } |