[jOOQ/jOOQ#14581] Fix optional parameter behaviour

This commit is contained in:
Lukas Eder 2023-02-08 11:07:22 +01:00
parent f1ac75ac77
commit d2f2258d87

View File

@ -204,6 +204,9 @@ implements
@ -225,7 +228,10 @@ implements
}
default:
ctx.visit(function(N_BIT_SET, getDataType(), value, bit, newValue));
if (newValue != null)
ctx.visit(function(N_BIT_SET, getDataType(), value, bit, newValue));
else
ctx.visit(function(N_BIT_SET, getDataType(), value, bit));
break;
}
}