- Notifications
You must be signed in to change notification settings - Fork23
Comparing changes
Open a pull request
base repository:pfalcon/berkeley-db-1.xx
Uh oh!
There was an error while loading.Please reload this page.
base:master
head repository:micropython/berkeley-db-1.xx
Uh oh!
There was an error while loading.Please reload this page.
compare:main
Uh oh!
There was an error while loading.Please reload this page.
- 13commits
- 209files changed
- 3contributors
Commits on Jul 29, 2016
mpool: Refactor to call file operation via vtable.
Don't assume there's a POSIX system with read()/write(), etc., insteadaccept function pointers to such routines via FILEVTABLE structure.Other changes, like avoiding fstat() usage, using bundled version of BSDsys/queue.h, etc.
pfalcon committedJul 29, 2016 btree: Refactor to call file operation via vtable.
pfalcon committedJul 29, 2016 mpool: Avoid using fprintf(), use mpool_error() for error reporting.
It can be defined to system-specific function with -Dmpool_error=<something>.
pfalcon committedJul 29, 2016 btree: __bt_open: Remove unused "mode" and "flags" arguments.
pfalcon committedJul 29, 2016
Commits on Aug 8, 2016
btree: Introduce default page size param, set to 4096.
This is kind of workaround for issues found with handling overflow pages.Setting default page size will make a less chance for user to hit them.
pfalcon committedAug 8, 2016
Commits on Aug 25, 2016
PORT/include/compat.h: Guard memmove (re)define with ifndef.
Fixes build on MacOSX (otherwise there's warning-as-error aboutredifinition of it).
pfalcon committedAug 25, 2016
Commits on Mar 15, 2024
all: Move headers to library-specific directory include/berkeley-db.
Signed-off-by: Damien George <damien@micropython.org>
dpgeorge committedMar 15, 2024 PORT: Remove the PORT directory.
None of these port directories work anymore, with the move to the newinclude/berkeley-db directory layout for header files.Signed-off-by: Damien George <damien@micropython.org>
dpgeorge committedMar 15, 2024 They can be generated as needed by editors.This also removes the last remaining symlinks.Signed-off-by: Damien George <damien@micropython.org>
dpgeorge committedMar 15, 2024 include: Allow injecting a configuration header.
Signed-off-by: Damien George <damien@micropython.org>
dpgeorge committedMar 15, 2024 all: Remove advertising clause in BSD 4-clause license.
As per the included README.Impt.License.Change, this advertising clausedoes not need to be met and can be removed: Accordingly, the foregoing paragraph of those BSD Unix files containing it is hereby deleted in its entirety.Signed-off-by: Damien George <damien@micropython.org>
dpgeorge committedMar 15, 2024
Commits on Jun 1, 2025
mpool: Avoid leak in the case that
lseekfails.I noticed while running the micropython testsuite under-fsanitize=address and valgrind that a memory leaks was reportedwith a stack trace like```2,128 bytes in 1 blocks are definitely lost in loss record 1 of 1 at 0x48465EF: calloc (vg_replace_malloc.c:1328) by 0x62D6D2: mpool_open (mpool.c:67) by 0x614233: __bt_open (bt_open.c:300) by 0x450A1C: mod_btree_open (modbtree.c:416)```specifically in the case where lseek failed.By moving the lseek call to before the allocation of the MPOOLobject, no new "free mp during error exit" code needed to beadded.Signed-off-by: Jeff Epler <jepler@gmail.com>
jepler committedJun 1, 2025
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff master...main
Uh oh!
There was an error while loading.Please reload this page.