Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: add sop forced insert #218

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

computerphilosopher
Copy link
Contributor

개요

sop 에서 maxcount를 넘어서 강제 삽입할 수 있는 forced insert 기능을 구현하였습니다.

  • 명령어의 force 여부를 저장하기 위해 conn 구조체에 불리언 변수를 추가했습니다.
  • 강제 삽입 여부를 관계된 함수들의 인자로 넘기게 했습니다.
  • do_set_elem_insert 함수를 강제 삽입이 가능하도록 수정하였습니다.
  • 단위테스트를 작성하였습니다.

@jhpark816
Copy link
Collaborator

@MinWooJin @minkikim89
본 PR은 engine interface를 변경하고 있습니다.
이번에 engine interface를 변경한다면,
보다 general한 engine interface를 가지도록 수정한 후에 본 PR의 내용을 반영하는 것이 좋겠어요.
보다 general하면서 향후 engine interface 변경이 최소화되게 하는 interface 설계가 필요해요.
이에 대해 검토해 주세요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants