-
Notifications
You must be signed in to change notification settings - Fork 71
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
UPS_FIND_GEQ_MATCH finds erased item in env with UPS_ENABLE_TRANSACTIONS #105
Comments
Thanks for the test. I discovered that ups_db_count is deeply flawed when counting deleted items. I have at least pushed a fix for the sample you provided. (The bug in UPS_FIND_GEQ_MATCH is NOT yet fixed though. I will provide that asap.) |
cruppstahl
added a commit
that referenced
this issue
Jan 8, 2018
Thanks for quick response. I'll be waiting for fix ;) |
veloman-yunkan
pushed a commit
to veloman-yunkan/upscaledb
that referenced
this issue
Sep 5, 2018
Added unittests/issue105.cc as a slightly modified copy of the code from the description of issue cruppstahl#105 of the upstream repo (the only change is the correct exit status of the test program). Also added issue101 and issue105 to the list of tests executed by 'make test'
veloman-yunkan
added a commit
to veloman-yunkan/upscaledb
that referenced
this issue
Sep 5, 2018
Added unittests/issue105.cc as a slightly modified copy of the code from the description of issue cruppstahl#105 of the upstream repo (the only change is the correct exit status of the test program). Also added issue101 and issue105 to the list of tests executed by 'make test'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Please consider following sample:
What is printed in the standard output:
This occurs only when transactions are enabled.
Both ups_cursor_find and ups_db_find are affected.
Also ups_db_count returns invalid value after erase operation. (should be 25)
Both bugs occurrence seems to be related to number of inserted items (for example when item_count=100 these issues are not occurring)
The text was updated successfully, but these errors were encountered: