File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1341,7 +1341,7 @@ String RelObjectNameWithoutValue() :
13411341 | tk=<K_TEMP> | tk=<K_TEMPORARY> | tk=<K_TO> | tk=<K_TYPE> | tk=<K_ISNULL>
13421342 | tk=<K_ZONE> | tk=<K_COLUMNS> | tk=<K_DESCRIBE> | tk=<K_FN> | tk=<K_PATH>
13431343 | tk=<K_DATE_LITERAL> | tk=<K_NEXTVAL> | tk=<K_TRUE> | tk=<K_FALSE> | tk=<K_DUPLICATE>
1344- | tk=<K_READ> | tk=<K_SCHEMA> | tk=<K_SIZE> | tk=<K_SEQUENCE> | tk=<K_SESSION>
1344+ | tk=<K_READ> | tk=<K_SCHEMA> | tk=<K_SIGNED> | tk=< K_SIZE> | tk=<K_SEQUENCE> | tk=<K_SESSION>
13451345 | tk=<K_VIEW> | tk=<K_NOLOCK> | tk=<K_VALIDATE> | tk=<K_CYCLE> | tk=<K_OF> | tk=<K_EXCLUDE>
13461346 /*| tk=<K_PLACING> | tk=<K_BOTH> | tk=<K_LEADING> | tk=<K_TRAILING> */
13471347 | tk=<K_FORMAT> | tk=<K_DIV> | tk=<K_UNSIGNED> | tk=<K_CASE>
Original file line number Diff line number Diff line change @@ -4431,4 +4431,9 @@ public void testSetOperationWithParenthesisIssue1094_4() throws JSQLParserExcept
44314431 Statement stmt = CCJSqlParserUtil .parse ("SELECT * FROM (((((SELECT A FROM tbl)))) UNION DISTINCT (((((((SELECT B FROM tbl2)))))))) AS union1" );
44324432 assertEquals ("SELECT * FROM ((SELECT A FROM tbl) UNION DISTINCT ((SELECT B FROM tbl2))) AS union1" , stmt .toString ());
44334433 }
4434+
4435+ @ Test
4436+ public void testSignedKeywordIssue1100 () throws JSQLParserException {
4437+ assertSqlCanBeParsedAndDeparsed ("SELECT signed, unsigned FROM mytable" );
4438+ }
44344439}
You can’t perform that action at this time.
0 commit comments