File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1151,7 +1151,7 @@ String RelObjectName() :
11511151{ Token tk = null; String result = null; }
11521152{
11531153 (result = RelObjectNameWithoutValue()
1154- | tk=<K_GROUP> | tk=<K_INTERVAL> | tk=<K_ON> | tk=<K_ORDER> | tk=<K_START> | tk=<K_TOP> | tk=<K_VALUE> | tk=<K_VALUES> )
1154+ | tk=<K_GROUP> | tk=<K_INTERVAL> | tk=<K_ON> | tk=<K_ORDER> | tk=<K_START> | tk=<K_TOP> | tk=<K_VALUE> | tk=<K_VALUES> | tk=<K_CREATE> )
11551155
11561156 {
11571157 if (tk!=null) result=tk.image;
Original file line number Diff line number Diff line change @@ -4049,5 +4049,8 @@ public void testTableFunctionInExprIssue923_6() throws JSQLParserException {
40494049 assertSqlCanBeParsedAndDeparsed ("SELECT * FROM mytable WHERE func(a) IN '1'" );
40504050 }
40514051
4052-
4052+ @ Test
4053+ public void testKeyWordCreateIssue941 () throws JSQLParserException {
4054+ assertSqlCanBeParsedAndDeparsed ("SELECT b.create FROM table b WHERE b.id = 1" );
4055+ }
40534056}
You can’t perform that action at this time.
0 commit comments