Skip to content

Commit

Permalink
test: add Test for Issue JSQLParser#1237
Browse files Browse the repository at this point in the history
  • Loading branch information
manticore-projects committed Dec 16, 2022
1 parent 1ce014a commit 19572da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,9 @@ public void testObject() {
public void testSettingUserVariable() throws JSQLParserException {
String sqlStr="set @Flag = 1";
assertSqlCanBeParsedAndDeparsed(sqlStr, true);

// issue #1237
sqlStr="SET @@global.time_zone = '01:00'";
assertSqlCanBeParsedAndDeparsed(sqlStr, true);
}
}

0 comments on commit 19572da

Please sign in to comment.