-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Firebird: fix createIndex missing space around "computed" #1500
Conversation
This change fixes the case in invalid sql is generated, when an index with an computed value is created.
Thanks @Markus-Patt for finding the issue and creating a fix for it. |
Shame on me, I missed a test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review and test results:
Things to be aware of:
- Changes make sense to me
- Only impacts firebird
Things to worry about:
- Nothing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix addresses a bug in the generation of SQL for Firebird computed indexes.
- New unit test added.
- No additional testing required.
APPROVED
Thanks for your PR submission! We just finished reviewing and merging it into the 4.17.0 release on October 10, 2022. When you get a chance, could you please Star the Liquibase project? The star button is in the upper right corner of the screen. |
This change fixes the case in invalid sql is generated, when an index with an computed value is created.
name: CreateIndexGeneratorFirebird generates invalid SQL on computed field
about: #1490
title: ''
labels: Status:Discovery
assignees: ''
Environment
Liquibase Version:
4.1.1
Database Vendor & Version:
Firebird 2.5
Firebird 3.0
Pull Request Type
Description
A clear and concise description of the issue being addressed.
Steps To Reproduce
This creates the following sql:
which misses a space between the table name an the the keyword "computed"
Fast Track PR Acceptance Checklist:
Need Help?
Come chat with us on our discord channel