You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/_17_sql_extension2/_02_full_test/_08_other_functions/_03_last_insert_id/cases/last_insert_id_005.sql 에 대해 의견을 여쭤보고자 합니다.
해당 TC는 두 개의 AUTO_INCREMENT를 설정한 테이블에 삽입을 수행합니다.
이번 스펙 변경으로 AUTO_INCREMENT는 한 개로 제한하기에 오류를 발생하도록 수정을 하였습니다.
이로 인해 insert가 일어나지 않아 이전 실행 sql인 last_insert_id_004.sql의 last_insert_id()인 6이 결과값으로 보여집니다. last_insert_id_005.answer는 단독 실행 기준으로 작성되었기에 NULL을 기대하여 TC fail이 일어나게 됩니다. (링크)
AUTO_INCREMENT가 테이블 당 한 개로 제한되면서 해당 TC의 의미가 사라진 것 같아 제거를 하는 것이 맞지 않을까 합니다.
sql/_17_sql_extension2/_02_full_test/_08_other_functions/_03_last_insert_id/cases/last_insert_id_005.sql 에 대해 의견을 여쭤보고자 합니다. 해당 TC는 두 개의 AUTO_INCREMENT를 설정한 테이블에 삽입을 수행합니다.
이번 스펙 변경으로 AUTO_INCREMENT는 한 개로 제한하기에 오류를 발생하도록 수정을 하였습니다.
이로 인해 insert가 일어나지 않아 이전 실행 sql인 last_insert_id_004.sql의 last_insert_id()인 6이 결과값으로 보여집니다. last_insert_id_006.answer는 단독 실행 기준으로 작성되었기에 NULL을 기대하여 TC fail이 일어나게 됩니다. (링크) AUTO_INCREMENT가 테이블 당 한 개로 제한되면서 해당 TC의 의미가 사라진 것 같아 제거를 하는 것이 맞지 않을까 합니다.
해당 TC를 제거해도 괜찮을까요?
last_insert_id() 값이 일정하게 유지가 안된다면 TC를 삭제하는 것이 맞을 것 같습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refer to CUBRID/cubrid#6815
auto_increment를 테이블 당 한 개로 제한하는 스펙 변경이 있어 이를 허용하던 TC의 스크립트와 정답을 변경합니다.