diff --git a/mondrian/src/main/java/mondrian/spi/impl/AccessDialect.java b/mondrian/src/main/java/mondrian/spi/impl/AccessDialect.java index 4182ce655a..897208c205 100644 --- a/mondrian/src/main/java/mondrian/spi/impl/AccessDialect.java +++ b/mondrian/src/main/java/mondrian/spi/impl/AccessDialect.java @@ -48,6 +48,16 @@ protected void quoteDateLiteral( String value, Date date) { + + ////////////////////////// + // This is an error on purpose to test CodeQL + Boolean done = false; + while (!done) { + System.out.println("Hello world!"); + done = true; + } + ////////////////////////// + // Access accepts #01/23/2008# but not SQL:2003 format. buf.append("#"); Calendar calendar = Calendar.getInstance();