Skip to content

NULL boolean fix#7468

Open
labkey-martyp wants to merge 1 commit intodevelopfrom
fb_query_validation
Open

NULL boolean fix#7468
labkey-martyp wants to merge 1 commit intodevelopfrom
fb_query_validation

Conversation

@labkey-martyp
Copy link
Contributor

Rationale

Found this during sql server -> pg migration. This is throwing an error when trying to hard code a boolean value as NULL in LK sql. This is done across some unions where NULL is essentially a third state. PG requires a cast, but casting the value when using sql server throws an error in this attempted conversion since it does not produce a valid predicate for this case statement. This fix just opts out of this case statement if the value is.

Changes

  • Update conditional to not do this case statement if the method call is Method.ConvertInfo.

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