Skip to content

Commit

Permalink
[#145] parse_insert_values 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
myyrakle committed Jul 31, 2024
1 parent e9ef65d commit 38fc2b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/parser/implements/dml/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,10 @@ impl Parser {
let current_token = self.get_next_token();

if current_token != Token::LeftParentheses {
self.unget_next_token(current_token);
break;
return Err(ParsingError::wrap(format!(
"E0417 expected '('. but your input word is '{:?}'",
current_token
)));
}

if !self.has_next_token() {
Expand Down

0 comments on commit 38fc2b6

Please sign in to comment.