[jOOQ/jOOQ#13851] Wrong DDL generated for computed columns in MEMSQL

This commit is contained in:
Lukas Eder 2022-08-15 09:19:10 +02:00
parent 187aa8cbda
commit ccb35e5d46

View File

@ -1142,6 +1142,8 @@ final class Tools {
// ------------------------------------------------------------------------
// XXX: Record constructors and related methods
// ------------------------------------------------------------------------
@ -5539,6 +5541,11 @@ final class Tools {
@ -5558,6 +5565,11 @@ final class Tools {
toSQLDDLTypeDeclaration0(ctx, type);
}
private static final void toSQLDDLTypeDeclaration0(Context<?> ctx, DataType<?> type) {
DataType<?> elementType = type instanceof ArrayDataType<?> t
? t.elementType
: type;