-
Notifications
You must be signed in to change notification settings - Fork 203
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
WIP: lmdb support #46
Commits on Sep 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f0379e7 - Browse repository at this point
Copy the full SHA f0379e7View commit details -
Add -llmdb to test/Makefile.in so test can be compiled without any error.
Configuration menu - View commit details
-
Copy full SHA for e147886 - Browse repository at this point
Copy the full SHA e147886View commit details
Commits on Sep 28, 2023
-
Remove lmdb driver from build.conf and revert e147886
- Remove lmdb driver from build.conf so it won't get linked twice! - Revert e147886
Configuration menu - View commit details
-
Copy full SHA for ad34f18 - Browse repository at this point
Copy the full SHA ad34f18View commit details -
Removed wrong lines from build.conf in ad34f18
- Removed wrong lines from build.conf in ad34f18. Revering and removing correct line
Configuration menu - View commit details
-
Copy full SHA for fcf0580 - Browse repository at this point
Copy the full SHA fcf0580View commit details -
Pass the -lock file back via _usednames. This seems to be reliable
if using MDB_NOSUBDIR per http://www.lmdb.tech/doc/group__mdb.html#ga32a193c6bf4d7d5c5d579e71f22e9340
Configuration menu - View commit details
-
Copy full SHA for c1e6ae7 - Browse repository at this point
Copy the full SHA c1e6ae7View commit details -
Pass the -lock file back via _usednames. This seems to be reliable
if using MDB_NOSUBDIR per http://www.lmdb.tech/doc/group__mdb.html#ga32a193c6bf4d7d5c5d579e71f22e9340 Merging the change suggested by @notroj apache@26afe6b
Configuration menu - View commit details
-
Copy full SHA for 7bf4a66 - Browse repository at this point
Copy the full SHA 7bf4a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61a15b8 - Browse repository at this point
Copy the full SHA 61a15b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5c6f8a - Browse repository at this point
Copy the full SHA d5c6f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45bf67d - Browse repository at this point
Copy the full SHA 45bf67dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11fee2b - Browse repository at this point
Copy the full SHA 11fee2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43bcfef - Browse repository at this point
Copy the full SHA 43bcfefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6df0b13 - Browse repository at this point
Copy the full SHA 6df0b13View commit details -
Remove unnecessary apr_dbm_t struct and add test for opening
a non-existent database.
Configuration menu - View commit details
-
Copy full SHA for f10d2ce - Browse repository at this point
Copy the full SHA f10d2ceView commit details -
Simplify error handling - since mdb_* can return errno as positive
(just like apr_status_t) map those values directly; map all other errors as APR_EGENERAL. APR-internal APIs should not use error codes within the APR_OS_START_USEERR number region (mistake common to dbm/*.c.)
Configuration menu - View commit details
-
Copy full SHA for f8f484d - Browse repository at this point
Copy the full SHA f8f484dView commit details
Commits on Sep 29, 2023
-
Default to using MDB_NOSYNC when opening the database to avoid
overhead of per-transaction fdatasync() calls, bringing comparable behaviour/performance to BDB etc. Arguably this behaviour could be controlled by a new flag passed in the mode parameter of apr_dbm_open*.
Configuration menu - View commit details
-
Copy full SHA for 49e1023 - Browse repository at this point
Copy the full SHA 49e1023View commit details -
Configuration menu - View commit details
-
Copy full SHA for e142d06 - Browse repository at this point
Copy the full SHA e142d06View commit details -
which was originally used for dynamic database resizing in case the database was full. This function is no longer used and the size of the database is set to UINT32_MAX in vt_lmdb_open() function.
Configuration menu - View commit details
-
Copy full SHA for 3a539c1 - Browse repository at this point
Copy the full SHA 3a539c1View commit details