Skip to content

Conversation

@passwordwasforgotten
Copy link

index's deduplicate is on

In the '_bt_validate_tid' method, the IndexTuple 'ituple' is not deformed when processing the posting tuple, resulting in missing validation for certain TIDs.

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • [1 ] Bug fix (non-breaking change)
  • [0] New feature (non-breaking change)
  • [0 ] Breaking change (fix or feature with breaking changes)
  • [0] Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


index's deduplicate is on

In the '_bt_validate_tid' method, the IndexTuple 'ituple' is not
deformed when processing the posting tuple, resulting in
missing validation for certain TIDs.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hi, @passwordwasforgotten welcome!🎊 Thanks for taking the effort to make our project better! 🙌 Keep making such awesome contributions!

PageGetItemId(page, offnum));
if (ItemPointerEquals(&itup->t_tid, h_tid))
if(BTreeTupleIsPosting(itup))
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some test cases?

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.

2 participants