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

Liquibase adds a TIMESTAMP value when using the CDATA driver #267

Open
Tylorjg opened this issue Feb 20, 2024 · 0 comments
Open

Liquibase adds a TIMESTAMP value when using the CDATA driver #267

Tylorjg opened this issue Feb 20, 2024 · 0 comments

Comments

@Tylorjg
Copy link

Tylorjg commented Feb 20, 2024

When using the CDATA driver with Liquibase v4.23, it results in a TIMESTAMP word appearing in the query when trying to lock the database.

For example

UPDATE [<keyspace_name>].[DATABASECHANGELOGLOCK] SET [LOCKED] = TRUE, [LOCKEDBY] = '<host>', [LOCKGRANTED] = TIMESTAMP '<time>' WHERE [DATABASECHANGELOGLOCK]

Whereas it should appear as

UPDATE [<keyspace_name>].[DATABASECHANGELOGLOCK] SET [LOCKED] = TRUE, [LOCKEDBY] = '<host>', [LOCKGRANTED] = '<time>' WHERE [DATABASECHANGELOGLOCK]

It is specific to when using the CDATA driver.

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

No branches or pull requests

1 participant