[jOOQ/jOOQ#14653] Throw OSS error on both types of X_CONSTRUCT funcs

This commit is contained in:
Lukas Eder 2023-02-17 11:24:54 +01:00
parent 2c8d3bc3bf
commit b4f340dc18

View File

@ -9984,7 +9984,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
private final Field<?> parseFieldArrayConstructIf() {
boolean absentOnNull = false;
if ((parseFunctionNameIf("ARRAY_CONSTRUCT") || (absentOnNull = parseFunctionNameIf("ARRAY_CONSTRUCT_COMPACT")) && requireProEdition())) {
if ((parseFunctionNameIf("ARRAY_CONSTRUCT") || (absentOnNull = parseFunctionNameIf("ARRAY_CONSTRUCT_COMPACT"))) && requireProEdition()) {
@ -10002,7 +10002,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
private final Field<?> parseFieldObjectConstructIf() {
boolean nullOnNull = false;
if ((parseFunctionNameIf("OBJECT_CONSTRUCT") || (nullOnNull = parseFunctionNameIf("OBJECT_CONSTRUCT_KEEP_NULL")) && requireProEdition())) {
if ((parseFunctionNameIf("OBJECT_CONSTRUCT") || (nullOnNull = parseFunctionNameIf("OBJECT_CONSTRUCT_KEEP_NULL"))) && requireProEdition()) {