File tree 3 files changed +1
-12
lines changed
3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,6 @@ define_keywords!(
255
255
DISCARD ,
256
256
DISCONNECT ,
257
257
DISTINCT ,
258
- DISTINCTROW ,
259
258
DISTRIBUTE ,
260
259
DIV ,
261
260
DO ,
Original file line number Diff line number Diff line change @@ -3553,9 +3553,7 @@ impl<'a> Parser<'a> {
3553
3553
pub fn parse_all_or_distinct ( & mut self ) -> Result < Option < Distinct > , ParserError > {
3554
3554
let loc = self . peek_token ( ) . location ;
3555
3555
let all = self . parse_keyword ( Keyword :: ALL ) ;
3556
- let distinct = self
3557
- . parse_one_of_keywords ( & [ Keyword :: DISTINCT , Keyword :: DISTINCTROW ] )
3558
- . is_some ( ) ;
3556
+ let distinct = self . parse_keyword ( Keyword :: DISTINCT ) ;
3559
3557
if !distinct {
3560
3558
return Ok ( None ) ;
3561
3559
}
Original file line number Diff line number Diff line change @@ -2811,11 +2811,3 @@ fn test_group_concat() {
2811
2811
mysql_and_generic ( )
2812
2812
. verified_expr ( "GROUP_CONCAT(DISTINCT test_score ORDER BY test_score DESC SEPARATOR ' ')" ) ;
2813
2813
}
2814
-
2815
- #[ test]
2816
- fn parse_select_distinctrow ( ) {
2817
- mysql ( ) . one_statement_parses_to (
2818
- "SELECT DISTINCTROW a FROM tbl" ,
2819
- "SELECT DISTINCT a FROM tbl" ,
2820
- ) ;
2821
- }
You can’t perform that action at this time.
0 commit comments