diff --git a/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java b/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java index 49e9b78d1f..b69801622a 100644 --- a/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/InsertQueryImpl.java @@ -452,7 +452,7 @@ implements Set> keys = toSQLInsert(ctx, requireNewMySQLExcludedEmulation); // [#5214] The alias only applies with INSERT .. VALUES - if (requireNewMySQLExcludedEmulation && select == null && !Tools.anyComputedOnClientStoredFields(table)) + if (requireNewMySQLExcludedEmulation && select == null) ctx.formatSeparator() .visit(K_AS).sql(' ').visit(name("t"));