[CBRD-25500] ORDERBY_NUM()이 포함된 쿼리에서 Invalid XASL 에러 발생 #5952
+45
−17
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/CBRD-25500
Purpose
limit절을 hash text에 포함하지 않기 때문에, hash text가 같고 host variable의 개수가 다를 경우 invalid xasl 발생.
Implementation
호스트 변수를 sha1 key 생성 시 포함하도록 함.
Remarks
sha1 key 생성 로직 변경, host variable count 파라미터가 0일시 기존과 동일하게 작동함.