Skip to content

Commit

Permalink
[TEST] Add error on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
lucboudreau authored Jan 9, 2025
1 parent ec43333 commit 64a3451
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mondrian/src/main/java/mondrian/spi/impl/AccessDialect.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 64a3451

Please sign in to comment.