From ccb35e5d46f8afba907261a0a3617ce78e633fb6 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 15 Aug 2022 09:19:10 +0200 Subject: [PATCH] [jOOQ/jOOQ#13851] Wrong DDL generated for computed columns in MEMSQL --- jOOQ/src/main/java/org/jooq/impl/Tools.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/jOOQ/src/main/java/org/jooq/impl/Tools.java b/jOOQ/src/main/java/org/jooq/impl/Tools.java index a61fc617a3..44c11a76cb 100644 --- a/jOOQ/src/main/java/org/jooq/impl/Tools.java +++ b/jOOQ/src/main/java/org/jooq/impl/Tools.java @@ -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;