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

Big btrieve update #256

Merged
merged 17 commits into from
Nov 6, 2020
Merged

Big btrieve update #256

merged 17 commits into from
Nov 6, 2020

Conversation

paladine
Copy link
Collaborator

@paladine paladine commented Nov 5, 2020

  • Adds support for variable length records
  • Fixes fixed length records reading unused pages as real pages, inserting junk which was the root cause of the key constraint errors
  • Adds support for records marked as deleted, and skips loading them
  • Audited Majorbbs.cs for void methods and removed Register.AX manipulation in those methods

No additional integration test here. I plan on creating a brand new database and using it with mbbsemu.dll, which unsurprisingly will have variable length records. I figured this data integrity update is worthy of a review now.

MBBSEmu/Btrieve/BtrieveFile.cs Show resolved Hide resolved
MBBSEmu/Btrieve/BtrieveFile.cs Outdated Show resolved Hide resolved
MBBSEmu/Btrieve/BtrieveFile.cs Outdated Show resolved Hide resolved
MBBSEmu/Btrieve/BtrieveFile.cs Outdated Show resolved Hide resolved
MBBSEmu/Btrieve/BtrieveFile.cs Outdated Show resolved Hide resolved
MBBSEmu/Btrieve/BtrieveFile.cs Outdated Show resolved Hide resolved
MBBSEmu/Btrieve/BtrieveFile.cs Outdated Show resolved Hide resolved
@paladine paladine merged commit b3cfb7b into master Nov 6, 2020
@enusbaum enusbaum deleted the datapages branch November 7, 2020 19:24
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