Skip to content

Commit b94b692

Browse files
committed
Fix expected error message for OwnerTo
1 parent 5c21442 commit b94b692

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/parser/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Licensed under the Apache License, Version 2.0 (the "License");
2-
// you may not use this file except in compliance with the License.
31
// You may obtain a copy of the License at
42
//
53
// http://www.apache.org/licenses/LICENSE-2.0
@@ -6290,7 +6288,7 @@ impl<'a> Parser<'a> {
62906288
}))
62916289
},
62926290
Keyword::NoKeyword => Owner::Ident(w.to_ident()),
6293-
_ => self.expected("CURRENT_USER, CURRENT_ROLE, SESSION_USER or identifier expected after OWNER TO clause", next_token)?,
6291+
_ => self.expected("CURRENT_USER, CURRENT_ROLE, SESSION_USER or identifier after OWNER TO clause", next_token)?,
62946292
},
62956293
_ => self.expected("Token::Word", next_token)?
62966294
};

0 commit comments

Comments
 (0)