Skip to content

Commit

Permalink
Add ASSERT condition for operand typeids
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-shameem committed Mar 5, 2025
1 parent acc0ff0 commit 1ad0877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/babelfishpg_tsql/src/collation.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ transform_from_ci_as_for_likenode(Node *node, OpExpr *op, like_ilike_info_t like
if (!OidIsValid(database_or_server_collation_oid))
return node;


Assert(ltypeId == rtypeId);
/*
* Find the CS_AS collation corresponding to the CI_AS collation
* Change the collation of the ILIKE op to the CS_AS collation
Expand Down

0 comments on commit 1ad0877

Please sign in to comment.