Skip to content

Commit

Permalink
[#145] handle_insert_query 테스트 리팩토링 및 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
myyrakle committed Jul 31, 2024
1 parent 8e2fcff commit 80fa71d
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 152 deletions.
2 changes: 1 addition & 1 deletion src/parser/implements/dml/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl Parser {
}

// 쉼표가 있으면 삼키기
if self.pick_next_token() == Token::Comma {
if self.has_next_token() && self.pick_next_token() == Token::Comma {
self.get_next_token();
}

Expand Down
Loading

0 comments on commit 80fa71d

Please sign in to comment.