HHH-9401 : SQL warnings are never logged due to incorrect condition check
(cherry picked from commit a98ebc4ed4
)
This commit is contained in:
parent
4bf3b162ad
commit
cf728ede66
|
@ -248,7 +248,7 @@ public class SqlExceptionHelper {
|
||||||
public void walkWarnings(
|
public void walkWarnings(
|
||||||
SQLWarning warning,
|
SQLWarning warning,
|
||||||
WarningHandler handler) {
|
WarningHandler handler) {
|
||||||
if ( warning == null || handler.doProcess() ) {
|
if ( warning == null || !handler.doProcess() ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
handler.prepare( warning );
|
handler.prepare( warning );
|
||||||
|
|
Loading…
Reference in New Issue