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

Corrected determination of the DB2 version for the support of BOOLEAN columns. (patch for #4723) #4754

Merged
merged 3 commits into from Oct 16, 2023

Conversation

haltenwe
Copy link
Contributor

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

TypeBug

Description

Fixes #4723 Corrected determination of the DB2 version for the support of BOOLEAN columns. Fixed determining if the database implementation derives from DB2Database.

Things to be aware of

Things to worry about

Additional Context

IBM DB2 v11.1.1.1 and later

@kevin-atx kevin-atx changed the title patch #4723 Corrected determination of the DB2 version for the support of BOOLEAN columns. (patch for #4723) Aug 28, 2023
@MalloD12 MalloD12 self-assigned this Aug 31, 2023
@MalloD12 MalloD12 self-requested a review August 31, 2023 16:45
@MalloD12 MalloD12 changed the base branch from master to 3.3.x September 15, 2023 18:17
@MalloD12 MalloD12 changed the base branch from 3.3.x to master September 15, 2023 18:17
Copy link
Contributor

@MalloD12 MalloD12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

Review and testing results:

Thanks you, @haltenwe for this PR. Code changes looks good to me. With this version check changed on the supportBooleanDataType() we started getting some tests failures. Some of this required a separate PR to fix the failing test, and some others were fixed by the change made around the handleOldChangelogTableFormat().

Build and most of the tests checks have been successfully executed as shown in the below screenshot:
Screenshot 2023-09-15 at 5 31 43 PM
The failing check will pass again when this PR is merged.

Things to be aware of:

  • None

Things to worry about:

  • None

@MalloD12
Copy link
Contributor

@filipelautert - @suryaaki2: once we merge this PR I'll ask Interop team to get their PR merged.

Thanks,
Daniel.

haltenwe and others added 3 commits October 2, 2023 16:59
Fix the error: check, that DB2Database is a superclass of the configured implementation 

Signed-off-by: Erich Haltenwanger <erich@haltenwanger.de>
Fixes liquibase#4723: check of the version of DB2

Signed-off-by: Erich Haltenwanger <erich@haltenwanger.de>
@filipelautert filipelautert added this to the 1NEXT milestone Oct 16, 2023
@filipelautert filipelautert merged commit 4ea58c9 into liquibase:master Oct 16, 2023
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

liquibase generates boolean columns only in ibm db2 versions with fixpack version >= 1
6 participants