HHH-16151 - Fix potential NullPointerException in SqmTreePrinter for the like excape character
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
5e26bf0c3e
commit
8b9d199fcf
|
@ -958,7 +958,9 @@ public class SqmTreePrinter implements SemanticQueryWalker<Object> {
|
|||
() -> {
|
||||
predicate.getPattern().accept( this );
|
||||
predicate.getMatchExpression().accept( this );
|
||||
predicate.getEscapeCharacter().accept( this );
|
||||
if ( predicate.getEscapeCharacter() != null ) {
|
||||
predicate.getEscapeCharacter().accept( this );
|
||||
}
|
||||
}
|
||||
);
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue