[jOOQ/jOOQ#14653] Fix regression in MariaDB's JSON_OBJECTAGG
This commit is contained in:
parent
a3060161b4
commit
0e67112dbc
@ -292,10 +292,10 @@ implements
|
||||
|
||||
|
||||
else
|
||||
ctx.visit(wrap(args).map((arg, i) -> applyFilter(arg, i) ? DSL.when(filter, arg == ASTERISK ? one() : arg) : arg).map(fun));
|
||||
ctx.visit(wrap(args).map((arg, i) -> applyFilter(ctx, arg, i) ? DSL.when(filter, arg == ASTERISK ? one() : arg) : arg).map(fun));
|
||||
}
|
||||
|
||||
boolean applyFilter(Field<?> arg, int i) {
|
||||
boolean applyFilter(Context<?> ctx, Field<?> arg, int i) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -181,6 +181,11 @@ implements
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -166,7 +166,7 @@ final class ListAgg extends AbstractAggregateFunction<String> implements UNotYet
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean applyFilter(Field<?> arg, int i) {
|
||||
boolean applyFilter(Context<?> ctx, Field<?> arg, int i) {
|
||||
return i == 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user