Skip to content

Conversation

@Nightlngale
Copy link
Contributor

@Nightlngale Nightlngale commented Jan 26, 2026

Sub-bugHCK-14467 [DB2][Apply to instance]: error is thrown on apply ddl with comments

Technical details

Added a method to remove multiline /**/ and inline -- comments when executing the query.
The root cause: Statements with comments only were being executed as SQL, which Db2 saw as having no tokens

@Nightlngale Nightlngale self-assigned this Jan 26, 2026
@sonarqubecloud
Copy link

@chulanovskyi-bs chulanovskyi-bs enabled auto-merge (squash) January 26, 2026 17:11
@chulanovskyi-bs chulanovskyi-bs merged commit c81032a into develop Jan 27, 2026
7 of 9 checks passed
@chulanovskyi-bs chulanovskyi-bs deleted the HCK-14467 branch January 27, 2026 08:01
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.

3 participants