[#6118] RESTRICT is a mandatory keyword in DB2's DROP SCHEMA command
This commit is contained in:
parent
fe9ce8a865
commit
fc143fa078
@ -48,6 +48,7 @@ import static org.jooq.SQLDialect.FIREBIRD;
|
||||
import static org.jooq.impl.Keywords.K_CASCADE;
|
||||
import static org.jooq.impl.Keywords.K_DROP_SCHEMA;
|
||||
import static org.jooq.impl.Keywords.K_IF_EXISTS;
|
||||
import static org.jooq.impl.Keywords.K_RESTRICT;
|
||||
|
||||
import org.jooq.Clause;
|
||||
import org.jooq.Configuration;
|
||||
@ -134,6 +135,10 @@ final class DropSchemaImpl extends AbstractQuery implements
|
||||
if (cascade)
|
||||
ctx.sql(' ').visit(K_CASCADE);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ctx.end(DROP_SCHEMA_SCHEMA);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user