[CUBRIDQA-1241] get server output after all the execution results are read #691
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.
http://jira.cubrid.org/browse/CUBRIDQA-1241
http://jira.cubrid.org/browse/CBRD-25636
CUBRIDQA-1241 이슈와 이것의 동일문제라고 생각되는 CBRD-25636 이슈를 해결하기 위한 CTP 모듈 수정입니다.
EVALUATE 문을 cci_execute()로 실행 직후에 get_server_output()을 호출하여 call 문을 수행하는 것이
실행 결과를 읽어 들일 때 영향을 미치는 것으로 보여
(--+ server-message on 이 없으면 결과 출력이 잘 됩니다.)
get_server_output() 문을 cci_execute()의 결과를 읽고 출력한 이후에 호출하도록 옮겼습니다.
왜 하필 EVALUATE 만 문제가 되었을까는 의문입니다. CCI interface 의 이슈인 듯 합니다.
다음 TC의 SQL_BY_CCI 테스트 실패를 해결하는 수정입니다.
cubrid-testcases/sql/_05_plcsql/_01_testspec/_05_bug_fix/cases/14_evaluate_wrong.sql