Improved formatting of bitnot emulation

This commit is contained in:
lukaseder 2015-05-08 16:41:53 +02:00
parent 979b1f05fd
commit 1c7ae2da3a

View File

@ -79,7 +79,7 @@ class Neg<T> extends AbstractField<T> {
SQLDialect family = ctx.configuration().dialect().family();
if (operator == BIT_NOT && asList(H2, HSQLDB).contains(family)) {
ctx.sql("(0 -")
ctx.sql("(0 - ")
.visit(field)
.sql(" - 1)");
}