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

Generate a table hash that take account of the AUTO_INCREMENT changes #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nojimage
Copy link

@nojimage nojimage commented Dec 20, 2017

CHECKSUM TABLE calculates a hash value for the current table record.

This hash value does not include the value of AUTO_INCREMENT, it is not possible to track changes when only the value of AUTO_INCREMENT changes.
For example, if you add a record in a test case and delete that record.

If do not check the change of AUTO_INCREMENT, it will be occurred mismatch problem when assert the record id in the test case.

@ravage84 ravage84 added this to the 1.0 milestone Aug 25, 2023
@ravage84
Copy link
Collaborator

Even though this is probably mostly an edge case, it could be useful.

@nojimage can you please rebase your PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants